interop-workloads/workloads/ansible/shade/lampstack/roles/common/tasks/fedora.yml

13 lines
403 B
YAML
Executable File

---
- name: Wait until server is up and runnning
local_action: wait_for port=22 host="{{ ansible_ssh_host | default(inventory_hostname) }}" search_regex=OpenSSH delay=10
become: no
- name: Install python2 for Ansible
raw: dnf install -y python2 python2-dnf libselinux-python
register: result
until: result|success
- name: Set SELinux to permisive
selinux: policy=targeted state=permissive