bootstrap needed python2 libs for osbs ansible playbooks on osbs-dev
This commit is contained in:
parent
31db415617
commit
1c4afb6470
1 changed files with 7 additions and 0 deletions
|
@ -24,6 +24,13 @@
|
||||||
- name: set hostname (required by some services, at least postfix need it)
|
- name: set hostname (required by some services, at least postfix need it)
|
||||||
shell: "hostname {{inventory_hostname}}"
|
shell: "hostname {{inventory_hostname}}"
|
||||||
|
|
||||||
|
- name: bootstrap ansible py2
|
||||||
|
hosts: osbs-dev.fedorainfracloud.org
|
||||||
|
gather_facts: false
|
||||||
|
tasks:
|
||||||
|
- name: install python and deps for ansible modules
|
||||||
|
raw: dnf install -y python2 python2-dnf libselinux-python libsemanage-python python-firewall
|
||||||
|
|
||||||
- name: setup osbs
|
- name: setup osbs
|
||||||
hosts: osbs-dev.fedorainfracloud.org
|
hosts: osbs-dev.fedorainfracloud.org
|
||||||
vars_files:
|
vars_files:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue