Hello All,
I'm using ansible with a lot of managed docker images, and I'm searching a
way to have a single handler for all my tasks, at least reduce my list of
handlers ...
Something like this (pseudo code)
Handler
```
- name: Run specific service docker compose
docker_compose:
Hello,
Thanks, but without argument, docker ansible failed.
- name: Extract SQL Guacamole
community.general.docker_container:
name: guacamole-sql-extract
image: "guacamole/guacamole:latest"
container_default_behavior: no_defaults
detach: false
# command: "/opt/guacamole/bin/initdb.sh --mysql >
Hello,
Sorry if it's not the right place, I'm thinking my problem is little bit
similar.
In guacamole install process, It's suggest to do:
*docker* run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --mysql
> *initdb.sql*
I want to convert in proper way with ansible. This is my task:
-
Hello,
I need somes precisions about mysql_db module. I try to create Apache
Guacamole role.
This is my playbook:
FIRST TASK:
- name: Creation databases guacamole
community.mysql.mysql_db:
login_host: "{{ database_ip }}"
login_user: root
login_password: "{{ mariadb_root_pass }}"
name:
I have been trying to create a playbook that removes the resource record
sets for terminated EC2 instances.
Other tasks can debug fine, but when it comes to intersect and difference
to debug/list the common contents to keep and non-common to be removed, the
output still brings the entire list
secure.
>
>
> On Sun, 13 Sep 2020 at 14:51, Fred
> wrote:
>
>> Thanks for your answer.
>>
>> Your advice ldap_sha1 not working.
>>
>> Traefik is a reverseproxy and that's in their documentation that
>> mentionned need SHA1 or MD5 hash.
>&
_guide/playbooks_filters.html#hashing-filters
> ).
> Definitely read this:
>
> "Hash types available depend on the master system running ansible,
> ‘hash’ depends on hashlib password_hash depends on passlib
> (https://passlib.readthedocs.io/en/stable/lib/passlib.hash.html)."
>
Hello,
# SUMMARY
When I tried to apply filter on variable password, Traefik BasicAuth
rejected password.
# ISSUE TYPE
- Bug Report
# COMPONENT NAME
# ANSIBLE VERSION
```
ansible 2.9.12
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/fred
Hello,
In his playbook below I'trying to assert that there only one ingress rule
(tcp on port 443 with cidr 0.0.0.0/0)
I 've difficulties to understand how to parse it --> help :)
---
- name: test assert aws security rule Ok
hosts: localhost
gather_facts: no
vars:
elb_name:
Hello,
I'm in the process of writing an Ansible Playbook that will install and
setup Ansible Tower 3.1.1. Everything so far is ok in that I can get
Ansible Tower installed, but after that I become reliant on the GUI for
things like licencing and setting up github authentication, and the
here we go: https://github.com/ansible/ansible/issues/7701
:)
On Friday, June 6, 2014 2:38:03 PM UTC+2, Michael DeHaan wrote:
Please file a ticket in github so we can remember to update the docs.
Thanks!
On Thu, Jun 5, 2014 at 6:03 AM, Fred frederi...@gmail.com javascript:
wrote
The user module's documentation points us to an example in the github
examples directory.. there's nothing like that in ansible-examples, but
there's a lot in ansible galaxy:
Optionally set the user's password to this crypted value. See
the user example in the github examples directory
ssh://g...@stash.aws.onlotaris.com/infra/ansible-play.git local.yml
the playbook runs, but group_vars does not seem to be evaluated..
Is this a normal behavior?
Thanks.
Fred
--
You received this message because you are subscribed to the Google Groups
Ansible Project group.
To unsubscribe from
to
ec2_info.instances. private_ip variables, the playbook fail with an
undefined variable error ...
Does any one have an idea?
Many thanks in advance.
Fred
** playbook:
---
- hosts: 127.0.0.1
connection: local
gather_facts: True
vars:
keypair: mykey
dnsdomain: aws.domain.com
/tmp/ansible-tmp-1392727140.89-11533654997021 echo
$HOME/.ansible/tmp/ansible-tmp-1392727140.89-11533654997021']
127.0.0.1 PUT /var/folders/38/_r_kpxbd4cvfq_9qdvkb0jd4gn/T/tmpapBeCB
TO /Users/fred/.ansible/tmp/ansible-tmp-1392727140.89-11533654997021/ec2
127.0.0.1 EXEC ['/bin/sh', '-c',
'/usr
notice, the sql file is imported each time the playbook
is run ... (aka, the task is marked as changed each time I run the playbook)
is this an expected behavior?
does someone have a recommended way of using the import feature and run it
only once?
Thanks.
Fred
--
You received this message
16 matches
Mail list logo