mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-01-10 04:05:02 +01:00
This commit is contained in:
@@ -5,13 +5,13 @@
|
|||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "setup"
|
name: "setup"
|
||||||
when: ansible_facts.architecture is not defined
|
when: ansible_facts.architecture is not defined
|
||||||
- name: Add several users
|
# - name: Add several users
|
||||||
ansible.builtin.shell:
|
# ansible.builtin.shell:
|
||||||
cmd: |
|
# cmd: |
|
||||||
apt-mark hold docker-ce docker-compose-plugin docker-ce-rootless-extras docker-ce-cli docker-buildx-plugin
|
# apt-mark hold docker-ce docker-compose-plugin docker-ce-rootless-extras docker-ce-cli docker-buildx-plugin
|
||||||
register: logo
|
# register: logo
|
||||||
changed_when: "logo.rc == 0"
|
# changed_when: "logo.rc == 0"
|
||||||
when: inventory_hostname not in ['morefine.home.lan','rack.home.lan', 'rpi5.home.lan']
|
# when: inventory_hostname not in ['morefine.home.lan','rack.home.lan', 'rpi5.home.lan']
|
||||||
|
|
||||||
- name: Upgrade the full OS
|
- name: Upgrade the full OS
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
|
|||||||
@@ -91,7 +91,6 @@
|
|||||||
when:
|
when:
|
||||||
- ansible_distribution == "Debian" and ansible_distribution_major_version == "13"
|
- ansible_distribution == "Debian" and ansible_distribution_major_version == "13"
|
||||||
|
|
||||||
|
|
||||||
- name: Update apt cache
|
- name: Update apt cache
|
||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
@@ -107,13 +106,6 @@
|
|||||||
when:
|
when:
|
||||||
- ansible_distribution == "Debian" and ansible_distribution_major_version == "13"
|
- ansible_distribution == "Debian" and ansible_distribution_major_version == "13"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Add an Apt signing key to a specific keyring file
|
- name: Add an Apt signing key to a specific keyring file
|
||||||
ansible.builtin.apt_key:
|
ansible.builtin.apt_key:
|
||||||
url: https://download.docker.com/linux/ubuntu/gpg
|
url: https://download.docker.com/linux/ubuntu/gpg
|
||||||
|
|||||||
Reference in New Issue
Block a user