Add Ansible linting and other stuff

This commit is contained in:
Greg Hellings
2022-05-05 08:17:48 -05:00
parent b99a738da0
commit 5aa52aeff0
22 changed files with 177 additions and 56 deletions
+4 -3
View File
@@ -3,22 +3,23 @@
pre_tasks:
- name: update all the things
become: true
package:
ansible.builtin.package: # noqa package-latest
name: "*"
state: latest
when: ansible_facts.pkg_mgr not in ['atomic_container']
- name: update atomic things
become: true
command: rpm-ostree upgrade
ansible.builtin.command: rpm-ostree upgrade
when: ansible_facts.pkg_mgr in ['atomic_container']
changed_when: false
roles:
- role: virtualbox
when: packer_builder_type == 'virtualbox-iso'
- role: vmware
when: packer_builder_type == 'vmware-iso'
- role: init
- role: epel
- role: devroles.system.epel
- role: locale
- role: vagrant
- role: cleanup