- hosts: nomad-cluster
- roles:
- - role: brianshumate.nomad
- vars:
- nomad_os_packages:
- - curl
- - git
- - "{{ 'python3-libselinux' if ( ansible_distribution_major_version | int > 7) else 'libselinux-python' }}"
- - unzip
- tags: nomad-cluster
- tasks:
- - name: Start nomad service
- service: name=nomad state=started enabled=yes
- failed: [centos8-host] (item=libselinux-python) => {"ansible_loop_var": "item", "changed": false, "failures": ["No package libselinux-python available."], "item": "libselinux-python", "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}

By: Guest | Date: Mar 13 2020 14:41 | Format: None | Expires: never | Size: 670 B | Hits: 480
Latest pastes
2 hours ago
2 hours ago
2 hours ago
3 hours ago
6 hours ago