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