Hello.
I'm learning Ansible and found that example on this page:
http://docs.ansible.com/galaxy.html#the-ansible-galaxy-command-line-tool
does not work.
When I put inside of requirements.yml any yaml, ansible-galaxy trying to
download pieces of yaml like it is a text file:
$ head requirements.y
Hello.
I'm trying to set up application with database.
My current (simplified) version looks like this:
site.yml:
- include db.yml
- include app.yml
db.yml
- hosts: db
- roles: foo.install_db
app.yml
- hosts: app
- roles: bar.install_app
In the group_var/db I have settings:
db_address: '{{a
try to prepend script path with echo and use 'register' option for
further inspection. I think you may use some quirks with
path/environment variables.
On 01/25/2018 12:13 PM, Subrat Mahapatra wrote:
Hi There,
I am trying to execute a Predefined shell script on a remote server
through Ansib
Try to use 'combine' filter:
one: {foo: bar}
two: {baz: bazbaz }
three: '{{one|combine(two)}}'
Result: three: {foo: bar, baz: bazbaz}
On 02/20/2018 11:46 AM, 'deewon' via Ansible Project wrote:
Hi all,
I'm relatively new to using ansible and hoping someone can assist with
some insight aroun
I've done research on behaviour of handlers together with include/import
role.
https://medium.com/@george.shuklin/include-role-import-role-and-handlers-in-ansible-b32a5386a555
Short excerpt:
|import_role|: All handlers are in the same scope, inner handlers always
win.
|include_role|: Handle
kickstart is a fragile approach. Use diskimage-builder to build a
perfect image for your needs.
On 03/11/17 12:05, Alastair Rogers wrote:
I am currently looking at utilising ansible for our VM creation and
initial OS setup.
We have VMware vCenter hosting our VM’s and I am comfortable with VM
c