diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2015-12-09 16:44:55 -0500 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2015-12-09 16:44:55 -0500 |
commit | ec7b8b68b6467e17487ec4c81fbe2c6826e3c889 (patch) | |
tree | cba54e9138630742d0788a5cff9f70ec75b93032 /roles/flannel | |
parent | ecae1fcaaf6d83f2fb6dce0624990b2d13c25db9 (diff) | |
parent | b1d30491f1581503003646684137bf2c218660ba (diff) | |
download | openshift-ec7b8b68b6467e17487ec4c81fbe2c6826e3c889.tar.gz openshift-ec7b8b68b6467e17487ec4c81fbe2c6826e3c889.tar.bz2 openshift-ec7b8b68b6467e17487ec4c81fbe2c6826e3c889.tar.xz openshift-ec7b8b68b6467e17487ec4c81fbe2c6826e3c889.zip |
Merge pull request #1046 from sdodson/yum-dnf-cleanup
Remove yum / dnf duplication
Diffstat (limited to 'roles/flannel')
-rw-r--r-- | roles/flannel/tasks/main.yml | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/roles/flannel/tasks/main.yml b/roles/flannel/tasks/main.yml index 86e1bc96e..1e86176ea 100644 --- a/roles/flannel/tasks/main.yml +++ b/roles/flannel/tasks/main.yml @@ -1,13 +1,7 @@ --- - name: Install flannel sudo: true - yum: pkg=flannel state=present - when: ansible_pkg_mgr == "yum" - -- name: Install flannel - sudo: true - dnf: pkg=flannel state=present - when: ansible_pkg_mgr == "dnf" + action: "{{ ansible_pkg_mgr }} name=flannel state=present" - name: Set flannel etcd url sudo: true |