968 B
In order to use optional modules that ansible is capable of the libraries need to be installed, we make use of the following ansible modules:
-
pip: we install python3-pip python3-setuptools virtualenv as per https://docs.ansible.com/ansible/latest/modules/pip_module.html
-
mysql_db: python3-pymysql https://docs.ansible.com/ansible/latest/modules/mysql_db_module.html#mysql-db-module
-
mysql_user: python3-pymysql https://docs.ansible.com/ansible/latest/modules/mysql_user_module.html#mysql-user-module https://github.com/ansible/ansible/issues/47736
-
postgresql_db: python3-psycopg2 https://docs.ansible.com/ansible/latest/modules/postgresql_db_module.html#postgresql-db-module
-
postgresql_dbuser: python3-psycopg2 https://docs.ansible.com/ansible/latest/modules/postgresql_user_module.html#postgresql-user-module
-
htpasswd: python3-passlib https://docs.ansible.com/ansible/latest/modules/htpasswd_module.html?highlight=htpasswd