update
This commit is contained in:
@@ -1,15 +1,3 @@
|
|||||||
- name: add apt repository key
|
|
||||||
apt_key:
|
|
||||||
url: "{{ item }}"
|
|
||||||
with_items: "{{ apt_keys }}"
|
|
||||||
become: yes
|
|
||||||
|
|
||||||
- name: add apt repository
|
|
||||||
apt_repository:
|
|
||||||
repo: "{{ item }}"
|
|
||||||
with_items: "{{ apt_repo }}"
|
|
||||||
become: yes
|
|
||||||
|
|
||||||
- name: Upgrade Packages
|
- name: Upgrade Packages
|
||||||
package:
|
package:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
- name: Load a variable file based on the OS type
|
- name: Load a variable file based on the OS type
|
||||||
include_vars: "{{ item }}"
|
include_vars: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
|
- "vars/{{ ansible_os_family }}.yml"
|
||||||
- "vars/{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
|
- "vars/{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
|
||||||
- "vars/{{ ansible_distribution }}.yml"
|
- "vars/{{ ansible_distribution }}.yml"
|
||||||
- "vars/{{ ansible_os_family }}.yml"
|
|
||||||
- "vars/defaults.yml"
|
- "vars/defaults.yml"
|
||||||
|
|
||||||
- name:
|
- name:
|
||||||
|
|||||||
Reference in New Issue
Block a user