This commit is contained in:
parent
33e86d30cb
commit
2b76a72703
@ -1,19 +1,26 @@
|
|||||||
---
|
---
|
||||||
- name: Update hostname
|
- name: Update hostname
|
||||||
hostname: name={{ arch_base_hostname }}
|
ansible.builtin.hostname:
|
||||||
|
name: "{{ arch_base_hostname }}"
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: Update keymap
|
- name: Update keymap
|
||||||
command: localectl set-keymap {{ arch_base_keymap }}
|
ansible.builtin.command: localectl set-keymap {{ arch_base_keymap }}
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Update_pacman_repos
|
- name: Update_pacman_repos
|
||||||
become: true
|
become: true
|
||||||
pacman: update_cache=true
|
community.general.pacman:
|
||||||
|
update_cache: true
|
||||||
|
|
||||||
- name: Restart sshd
|
- name: Restart sshd
|
||||||
service: name=sshd state=restarted
|
ansible.builtin.service:
|
||||||
|
name: sshd
|
||||||
|
state: restarted
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: restart_sysctl
|
- name: Restart_sysctl
|
||||||
service: name=systemd-sysctl state=restarted
|
ansible.builtin.service:
|
||||||
|
name: systemd-sysctl
|
||||||
|
state: restarted
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
Reference in New Issue
Block a user