21 February 2022

Solaris 11.4 SRU42 (Feb 2022) - ansible

The Oracle Solaris 11.4 SRU42  (Feb 2022) delivers ansible 2.10.
It is not installed by default. To use ansible install this 3 packages

pkg install ansible jinja2 pyyaml

Then create your own small ansible config file

-bash-5.1$ cat .ansible.cfg
[defaults]
inventory=/export/home/marcel/ansible_hosts

and you are ready to start

-bash-5.1$ ansible --version
ansible 2.10.15.post0
  config file = /export/home/marcel/.ansible.cfg
  configured module search path = ['/export/home/marcel/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.7/vendor-packages/ansible
  executable location = /usr/bin/ansible
  python version = 3.7.10 (default, Dec 22 2021, 02:24:16) [GCC 10.3.0]


The ansible Users Guide can be found here
https://docs.ansible.com/ansible/latest/user_guide/index.html

No comments:

Post a Comment