Move this over to setup where we have facts.
This commit is contained in:
parent
8daa51aa45
commit
34eaee73e4
2 changed files with 8 additions and 8 deletions
|
@ -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
|
- name: ntp pkgs
|
||||||
yum: state=present pkg={{ item }}
|
yum: state=present pkg={{ item }}
|
||||||
|
|
|
@ -75,11 +75,3 @@
|
||||||
# # poll: 5
|
# # poll: 5
|
||||||
# ignore_errors: True
|
# ignore_errors: True
|
||||||
#
|
#
|
||||||
#
|
|
||||||
# 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
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue