y10k.rubygems_environment

rubygems_environment

This sets up a rubygems_environment fact that stores the result of the gem environment command.

Two facts are also created:

  • rubygems_executable_directory
  • rubygems_executable_path

Requirements

The gem command must be available on the remote machine. If the gem command has a different name, you need to set it in the rubygems_command variable.

Role Variables

Variable Default Description
rubygems_command gem The command used for rubygems
rubygems_environment_show false Whether to display the contents of the rubygems_environment fact in the console.

Dependencies

There are no dependencies.

Example Playbook

- hosts: servers
  roles:
  - role: y10k.rubygems_environment

License

BSD

Informazioni sul progetto

Set rubygems_environment fact storing the result of gem environment command.

Installa
ansible-galaxy install y10k.rubygems_environment
Licenza
Unknown
Download
92
Proprietario