-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
201 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
version: 2 | ||
updates: | ||
# Maintain dependencies for GitHub Actions | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
--- | ||
- hosts: all | ||
tasks: | ||
- name: Include cloud-init recipe | ||
include_tasks: cloud-init.yaml | ||
- name: Include "{{ansible_distribution_major_version}}" network recipe | ||
include_tasks: "network-centos{{ansible_distribution_major_version}}.yaml" | ||
- name: Include clean-up recipe | ||
include_tasks: clean.yaml | ||
- name: Include cloud-init recipe | ||
include_tasks: cloud-init.yaml | ||
- name: Include "{{ansible_distribution_major_version}}" network recipe | ||
include_tasks: "network-centos{{ansible_distribution_major_version}}.yaml" | ||
- name: Include clean-up recipe | ||
include_tasks: clean.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
--- | ||
- hosts: all | ||
gather_facts: False | ||
tasks: | ||
- name: install python | ||
raw: test -e /usr/bin/python || test -e /usr/bin/python3 || (yum install -y python39) | ||
- name: install python | ||
raw: test -e /usr/bin/python || test -e /usr/bin/python3 || (yum install -y python39) | ||
|
||
- hosts: all | ||
tasks: | ||
- name: update packages | ||
yum: | ||
name: '*' | ||
state: latest | ||
- name: get the rpm package facts | ||
package_facts: | ||
manager: "auto" | ||
- name: Rebuilding initramfs for kernel | ||
command: | | ||
dracut -f --no-hostonly /boot/initramfs-{{ item['version'] }}-{{ item['release'] }}.{{ item['arch'] }}.img | ||
{{ item['version'] }}-{{ item['release'] }}.{{ item['arch'] }} | ||
loop: "{{ ansible_facts.packages['kernel'] }}" | ||
- name: update packages | ||
yum: | ||
name: '*' | ||
state: latest | ||
- name: get the rpm package facts | ||
package_facts: | ||
manager: "auto" | ||
- name: Rebuilding initramfs for kernel | ||
command: | | ||
dracut -f --no-hostonly /boot/initramfs-{{ item['version'] }}-{{ item['release'] }}.{{ item['arch'] }}.img | ||
{{ item['version'] }}-{{ item['release'] }}.{{ item['arch'] }} | ||
loop: "{{ ansible_facts.packages['kernel'] }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
--- | ||
- hosts: all | ||
roles: | ||
- cloud-init | ||
- role: grycap.docker | ||
vars: | ||
docker_version: "5:20.10.8~3-0~{{ansible_distribution | lower}}-{{ansible_distribution_release}}" | ||
docker_compose_version: 1.29.2 | ||
docker_install_pip: false | ||
- appliance | ||
- cleanup | ||
- cloud-init | ||
- role: grycap.docker | ||
vars: | ||
docker_version: "5:20.10.8~3-0~{{ansible_distribution | lower}}-{{ansible_distribution_release}}" | ||
docker_compose_version: 1.29.2 | ||
docker_install_pip: false | ||
- appliance | ||
- cleanup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
- hosts: all | ||
become: true | ||
roles: | ||
- cloud-init | ||
- docker | ||
- cleanup | ||
- cloud-init | ||
- docker | ||
- cleanup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
--- | ||
- hosts: all | ||
become: true | ||
gather_facts: False | ||
tasks: | ||
- name: install python | ||
raw: test -e /usr/bin/python || (apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y python-minimal || DEBIAN_FRONTEND=noninteractive apt-get install -y python3-minimal) | ||
- name: install python | ||
raw: test -e /usr/bin/python || (apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y python-minimal || DEBIAN_FRONTEND=noninteractive apt-get install -y python3-minimal) | ||
|
||
- hosts: all | ||
become: true | ||
tasks: | ||
- name: update packages | ||
apt: upgrade=dist | ||
|
||
- name: update packages | ||
apt: upgrade=dist |
Oops, something went wrong.