move ansible into ansible
This commit is contained in:
parent
4942c558b9
commit
8611242176
@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Install base system packages
|
||||
apt:
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- ax25-tools
|
||||
- ax25-apps
|
||||
@ -14,25 +14,25 @@
|
||||
- alsa-utils
|
||||
- libasound2-dev
|
||||
state: present
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
|
||||
- name: Install unblock-wlan service
|
||||
template:
|
||||
ansible.builtin.template:
|
||||
src: unblock-wlan.service.j2
|
||||
dest: /etc/systemd/system/unblock-wlan.service
|
||||
mode: '0644'
|
||||
mode: "0644"
|
||||
notify: Reload systemd
|
||||
|
||||
- name: Ensure /etc/wpa_supplicant/wpa_supplicant.conf exists
|
||||
file:
|
||||
ansible.builtin.file:
|
||||
path: /etc/wpa_supplicant/wpa_supplicant.conf
|
||||
state: touch
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
mode: "0644"
|
||||
|
||||
- name: Ensure Wi-Fi country is set
|
||||
blockinfile:
|
||||
ansible.builtin.blockinfile:
|
||||
path: /etc/wpa_supplicant/wpa_supplicant.conf
|
||||
marker: "# {mark} ANSIBLE MANAGED BLOCK - Wi-Fi Country Setting"
|
||||
block: |
|
||||
@ -41,7 +41,7 @@
|
||||
notify: Restart unblock-wlan service
|
||||
|
||||
- name: Unmask hostapd service
|
||||
systemd:
|
||||
ansible.builtin.systemd:
|
||||
name: hostapd
|
||||
masked: no
|
||||
masked: false
|
||||
notify: Reload systemd
|
||||
Loading…
Reference in New Issue
Block a user