diff options
| author | Kevin Fenzi <kevin@scrye.com> | 2015-11-16 19:52:33 +0000 |
|---|---|---|
| committer | Kevin Fenzi <kevin@scrye.com> | 2015-11-16 19:52:33 +0000 |
| commit | 34eaee73e440f9b1a43dd9623c242f971e6229cc (patch) | |
| tree | 3bee6d357340cb718c35f89b86c71d465b794e90 /tasks/cloud_setup_basic.yml | |
| parent | 8daa51aa45715a67766fa8a4c2fbdecf15b287d4 (diff) | |
| download | ansible-34eaee73e440f9b1a43dd9623c242f971e6229cc.tar.gz ansible-34eaee73e440f9b1a43dd9623c242f971e6229cc.tar.xz ansible-34eaee73e440f9b1a43dd9623c242f971e6229cc.zip | |
Move this over to setup where we have facts.
Diffstat (limited to 'tasks/cloud_setup_basic.yml')
| -rw-r--r-- | tasks/cloud_setup_basic.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tasks/cloud_setup_basic.yml b/tasks/cloud_setup_basic.yml index 1a0c7152a..7f1834c6e 100644 --- a/tasks/cloud_setup_basic.yml +++ b/tasks/cloud_setup_basic.yml @@ -1,4 +1,12 @@ --- +# +# The Fedora 23 cloud image doesn't have python2 and dnf bindings for that. +# Install them with the raw module so everything else works. +# + +- name: prep fedora 23 cloud image for ansible + raw: dnf -y install python-dnf libselinux-python + when: ansible_distribution_major_version|int > 22 and host_is_up|failed - name: ntp pkgs yum: state=present pkg={{ item }} |
