Questions tagged [ansible]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

How to install PostgreSQL with special version by Ansible role?

I use the ansible role installed PostgreSQL. Its default version is 10.6. How to set another version to install? Such as 12.4. $ psql --version psql (PostgreSQL) 10.6
1
vote
0answers
143 views

MariaDB root password change using Ansible

I had tried to change MariaDB root password using following Ansible script. - name: Dump MySQL root Password debug: msg: "MySQL new Password : {{ mysql_pass }}" ...
0
votes
1answer
220 views

How to create database by Ansible with PostgreSQL?

Use this task to create a database on CentOS by Ansible - name: Create mydb database command: createdb -E UNICODE -l en_US.UTF-8 -T template0 mydb -O mydbuser become_user: postgres It will ...