8b9fe42c72
* Add new module to create/update a docker swarm. * Fix ansible-test sanity * Fix requirements * Fix requirements * Add tag for author * Test integration test. * Fix main.yml * Add linux arch * Add template * Fix test result * Integration test to create/remove a swarm manager * fix join test * Downgrade docker-py * fix rhel * Fix review documentation. * Fix whitespace * Check docker installation. * test docker install * check * Remove docker socket * Fix docker install * Fix sanity test * Rebase * Add docker_swarm maintainer * Fix review * Fix new version. * Add docker default values * Fix description. * Reworked documentation * Fix YAML error * Rebase * Fix example for update state. * Fix idempotent states. Fix states: present/absent. * Fix sanity * Fix variables sanity * Update example for absent state. * fix sanity * Wrap the contents of error message in to_native. Co-authored by: Dag Wieers <dag@wieers.com>
11 lines
216 B
YAML
11 lines
216 B
YAML
- name: Template repo
|
|
template:
|
|
src: virt.repo.j2
|
|
dest: /etc/zypp/repos.d/virt.repo
|
|
|
|
- name: Install docker 17
|
|
zypper:
|
|
name: docker>=17
|
|
force: yes
|
|
disable_gpg_check: yes
|
|
update_cache: yes
|