networking: forgot connman-resolvconf service and --nodnsproxy

This commit is contained in:
Hoang Nguyen 2023-02-19 01:10:33 +07:00
parent df578407df
commit c5b2d1c5d8
Signed by: folliehiyuki
GPG Key ID: B0567C20730E9B11
1 changed files with 15 additions and 2 deletions

View File

@ -29,8 +29,21 @@
group: root
mode: 0644
- name: networking | Start connman service on runlevel 'boot'
- name: networking | Disable connmand DNS proxy in service config
lineinfile:
search_string: command_args
line: command_args="--nodnsproxy"
path: /etc/conf.d/connman
owner: root
group: root
mode: 0644
state: present
- name: networking | Start connman services on runlevel 'boot'
service:
name: connman
name: '{{ item }}'
runlevel: boot
enabled: true
loop:
- connman
- connman-resolvconf