Questions tagged [ansible-galaxy]

Ansible galaxy is a portal that contains various ansible-roles that reside on github and that could be installed locally using the ansible-galaxy command. This tag could be added to questions that are about problems that could arise when roles could not be removed or added from this portal.

Filter by
Sorted by
Tagged with
1 vote
1 answer

Unable to login as `ubuntu` user on ec2 instance spawned from auto scaling group

Utilizing Ansible AWS modules, I'm creating an AMI from an existing EC2 instance where I am able to ssh with both my user and default account (ubuntu). After the AMI is in a ready state, I then create ...
Chris's user avatar
  • 11
1 vote
1 answer

ansible mysql query not showing results

I have used community.mysql collection and was able to run a query against the database. --- - name: Get stats of a file hosts: localhost become: true tasks: - name: run mysql query ...
Ravi Kumar CH's user avatar
1 vote
2 answers

ansible & jinja2: How to reference JSON structure items whose keys are variables?

I am using ansible's module to get information about a server certificate on aws ec2, and registering it as a variable "server_cert_info_result" ...
Life5ign's user avatar
  • 130
2 votes
1 answer

How to verify hashes of Ansible Galaxy dependencies?

From a security perspective, I don't like the idea of relying only on Git tags, as they could be moved later. Unfortunately, I'm not aware of an official solution to enforce checks. This is the best ...
Philipp Claßen's user avatar
1 vote
2 answers

Ansible authorized copy from remote source to remote destination

How to use ansible authorized_key to authorize a ServerA (not the controller machine) to access Server B. Scenario: Need a playbook to execute from a ansible controller that should append ...
AVS's user avatar
  • 123
5 votes
1 answer

How to remove a non-existing GitHub Ansible role from Galaxy?

According to this documentation it is possible to remove a role from Galaxy, but the following fails: ansible-galaxy login succeeded ansible-galaxy delete 030 ...
030's user avatar
  • 13.1k