Test some tasks to get fedora23 cloud instances working nicely with ansible.
This commit is contained in:
parent
e47c1d1a81
commit
c3f5b21427
1 changed files with 10 additions and 0 deletions
|
@ -53,3 +53,13 @@
|
|||
# we have to wait some time. 10 sec is usually enough, but not always.
|
||||
- name: waiting for cloud-init
|
||||
pause: seconds=30
|
||||
|
||||
- name: gather facts
|
||||
setup:
|
||||
always_run: True
|
||||
ignore_errors: True
|
||||
register: facts
|
||||
|
||||
- name: install python2 and dnf stuff
|
||||
raw: dnf -y install python-dnf libselinux-python
|
||||
when: facts|failed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue