[ansible-project] Ansible Tower SAML Authentication

2019-03-22 Thread Chanaka Samarajeewa
Hello, I configured Tower to authenticate with OKTA via SAML . When I go to Tower's login page and click "Sign in with SAML" it functions correctly and takes me to Okta to sign in, then allows me into Tower after authenticating. However, If I initiate the process from OKTA by clicking the

Re: [ansible-project] Dynamic Group Var Name

2016-12-16 Thread Chanaka Samarajeewa
Hello Brian, Can you please help me figure out how to iterate over this registered variable? Please see my question as follows: https://groups.google.com/forum/#!searchin/ansible-project/iterate%7Csort:relevance/ansible-project/C9fSSQGq8pM/Pcjng6yeDAAJ Thanks Chanaka On Tue, May 3, 2016 at

[ansible-project] Dynamic Group Var Name

2016-04-26 Thread Chanaka Samarajeewa
Hello, How come I cannot do the following? I get the following error when I run the play. Is there a better way to do this? Please note the group vars file has been added to the main yml file as a reference. - mysql_user: login_host={{ inventory_hostname }} login_port={{ database_ port }}

[ansible-project] 'name' is a required argument.

2015-08-24 Thread Chanaka Samarajeewa
I have the following tasks: - name: Add new instance to host group add_host: hostname={{ item.public_ip }} groupname=launched with_items: ec2.results[0].instances - name: set inventory_hostname var add_host: inventory_hostname={{ item.public_dns_name }} groupname=launched with_items:

Re: [ansible-project] rds_param_group task not accepting correct values

2015-06-16 Thread Chanaka Samarajeewa
of both and see if that helps. On Thu, Jun 4, 2015 at 10:31 PM, Chanaka Samarajeewa chan...@jostle.me wrote: Hello Benno, We are using Boto version 2.34.0 and Ansible version 1.8.4. Thanks On Wed, Jun 3, 2015 at 8:28 PM, benno joy benno...@gmail.com wrote: Hi, Seems like a boto issue, can

Re: [ansible-project] rds_param_group task not accepting correct values

2015-06-04 Thread Chanaka Samarajeewa
Thanks for the advice. On Thu, Jun 4, 2015 at 10:10 AM, benno joy benno...@gmail.com wrote: can you please update to latest version of both and see if that helps. On Thu, Jun 4, 2015 at 10:31 PM, Chanaka Samarajeewa chan...@jostle.me wrote: Hello Benno, We are using Boto version 2.34.0

Re: [ansible-project] rds_param_group task not accepting correct values

2015-06-04 Thread Chanaka Samarajeewa
boto version then can you try updating to the latest and see if that helps. - Benno On Thu, Jun 4, 2015 at 4:57 AM, Chanaka Samarajeewa chan...@jostle.me wrote: Hello, I have the following task that creates a rds parameter group in a aws region. All the parameter values are valid. I can

[ansible-project] rds_param_group task not accepting correct values

2015-06-03 Thread Chanaka Samarajeewa
Hello, I have the following task that creates a rds parameter group in a aws region. All the parameter values are valid. I can enter these manually in aws console and they are accepted. However Ansible is complaining about long_query_time: 0 and max_connect_errors:

[ansible-project] {'msg': 'AnsibleUndefinedVariable: One or more undefined variables: list object has no element 1', 'failed': True}

2015-04-22 Thread Chanaka Samarajeewa
Hello, For some reason, when my group_vars list only has 1 item under test2: it get the following error. If I have more than 1 list item under test2: then everything works correctly. Is this an Ansible bug or do I need to do something differently? {'msg': 'AnsibleUndefinedVariable: One or

[ansible-project] error in group vars that I can't solve

2015-04-09 Thread Chanaka Samarajeewa
Hello, I'm getting the following error when running my task. For some reason Ansible is complaining about = characters, but it is ok with = characters in the same file. I tried single quotes and double quotes around the characters but it causes other errors. Files and error message are as

Re: [ansible-project] with_items: not working for me.

2015-03-11 Thread Chanaka Samarajeewa
Thanks for the help! On Monday, February 23, 2015 at 3:44:51 PM UTC-8, Brian Coca wrote: you indented with_items too much On Mon, Feb 23, 2015 at 4:42 PM, Chanaka Samarajeewa cha...@jostle.me javascript: wrote: Hello, Can someone please let me know why I am getting this error

[ansible-project] Help with with_items from file

2015-03-11 Thread Chanaka Samarajeewa
Hello, I am trying to use with_items: from a file but I am getting the following error. I can't find any documentation to help me with this. I'm hoping someone can help me. The error message and my files are as follows: Error: TASK: [cloudwatch_alarms | include_vars ec2-alarms.yml]