Use ansible account

This commit is contained in:
Dryusdan 2023-03-10 10:51:08 +01:00
parent 29449cde6a
commit 1dd2432127
2 changed files with 8 additions and 0 deletions

View File

@ -60,6 +60,10 @@
api_username: "{{ kuma_username }}"
api_password: "{{ kuma_password }}"
register: result
become: yes
become_user : "ansible"
become_method: su
become_flags: '-s /bin/bash'
tags:
- vhost

View File

@ -36,6 +36,10 @@
api_username: "{{ kuma_username }}"
api_password: "{{ kuma_password }}"
register: result
become: yes
become_user : "ansible"
become_method: su
become_flags: '-s /bin/bash'
tags:
- resign