configure arch mirror client
This commit is contained in:
parent
c8bfcb77eb
commit
a79efba425
@ -82,5 +82,5 @@ system_base_softwares_debian:
|
|||||||
- 'traceroute'
|
- 'traceroute'
|
||||||
|
|
||||||
system_upgrade: false
|
system_upgrade: false
|
||||||
|
system_arch_local_mirror:
|
||||||
keystodeploy: []
|
keystodeploy: []
|
@ -13,6 +13,15 @@
|
|||||||
notify: Update_pacman_repos
|
notify: Update_pacman_repos
|
||||||
when: ansible_architecture == "x86_64"
|
when: ansible_architecture == "x86_64"
|
||||||
|
|
||||||
|
- name: add local repo to mirrorlist
|
||||||
|
become: yes
|
||||||
|
lineinfile:
|
||||||
|
path: /etc/pacman.d/mirrorlist
|
||||||
|
line: "Server= {{system_arch_local_mirror}}/$repo/os/$arch"
|
||||||
|
state: present
|
||||||
|
insertbefore: BOF
|
||||||
|
when: system_arch_local_mirror is defined
|
||||||
|
|
||||||
- name: stat ca-certificates
|
- name: stat ca-certificates
|
||||||
stat:
|
stat:
|
||||||
path: "/etc/ssl/certs/ca-certificates.crt" # required. The full path of the file/object to get the facts of.
|
path: "/etc/ssl/certs/ca-certificates.crt" # required. The full path of the file/object to get the facts of.
|
||||||
|
Loading…
Reference in New Issue
Block a user