mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
ansible-lint 6.19.0 started complaining about this: schema[tasks]: 'become_method' must be one of the currently available values: ansible.builtin.runas, ansible.builtin.su, ansible.builtin.sudo, ansible.netcommon.enable, community.general.doas, community.general.dzdo, community.general.ksu, community.general.machinectl, community.general.pbrun, community.general.pfexec, community.general.pmrun, community.general.sesu, community.general.sudosu, containers.podman.podman_unshare
17 lines
435 B
YAML
17 lines
435 B
YAML
- name: Create terraform state db
|
|
postgresql_db: db="{{ terraform_db }}"
|
|
become: true
|
|
become_user: postgres
|
|
become_method: ansible.builtin.su
|
|
|
|
- name: Create terraform state db user
|
|
postgresql_user:
|
|
name: "{{ terraform_db_user }}"
|
|
db: "{{ terraform_db }}"
|
|
password: "{{ vault_terraform_db_password }}"
|
|
encrypted: true
|
|
priv: "ALL"
|
|
become: true
|
|
become_user: postgres
|
|
become_method: ansible.builtin.su
|