[ansible-project] ansible-galaxy no longer working

2024-06-24 Thread Andrew Meyer
Hello, 
About a week ago I updated ansible and am getting the following error:

[ansible@jump04 ansible1]$ /usr/bin/ansible-galaxy install --force -p roles 
-r /opt/syseng/automation/ansible1/roles.yml --ignore-errors
Starting galaxy role install process
ERROR! Unexpected Exception, this is probably a bug: 'version'
to see the full traceback, use -vvv
[ansible@jump04 ansible1]$ 

ansible [core 2.14.14]
  config file = /opt/syseng/automation/ansible1/ansible.cfg
  configured module search path = ['/opt/syseng/automation/ansible1/{{ 
ANSIBLE_HOME ~ "/plugins/modules', '/usr/share/ansible/plugins/modules', 
'/opt/syseng/automation/ansible1/library" }}']
  ansible python module location = /usr/lib/python3.9/site-packages/ansible
  ansible collection location = 
/opt/syseng/automation/ansible1/ansible_collections:/opt/syseng/automation/ansible1/collection
  executable location = /usr/bin/ansible
  python version = 3.9.18 (main, Jan 24 2024, 00:00:00) [GCC 11.4.1 
20231218 (Red Hat 11.4.1-3)] (/usr/bin/python3)
  jinja version = 3.1.2
  libyaml = True
[ansible@jump04 ansible1]$ 

I'm running:
RHEL 9.4

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/067daae9-5062-487b-b141-33ee43279fb5n%40googlegroups.com.


[ansible-project] ansible-galaxy errors

2023-08-30 Thread Andrew Meyer


The other day I suffered a power outage and got everything back online but 
now when I run ansible-galaxy it errors out no matter what I do. Has anyone 
else run into this issue??
[ansible@jump04 ansible1]$ /usr/bin/ansible-galaxy install --force -p roles 
-r /opt/syseng/automation/ansible1/roles.yml --ignore-errors -vvv
ansible-galaxy [core 2.14.2]
  config file = /opt/syseng/automation/ansible1/ansible.cfg
  configured module search path = ['/opt/syseng/automation/ansible1/{{ 
ANSIBLE_HOME ~ "/plugins/modules', '/usr/share/ansible/plugins/modules', 
'/opt/syseng/automation/ansible1/library" }}']
  ansible python module location = /usr/lib/python3.11/site-packages/ansible
  ansible collection location = 
/opt/syseng/automation/ansible1/ansible_collections:/opt/syseng/automation/ansible1/collection
  executable location = /usr/bin/ansible-galaxy
  python version = 3.11.2 (main, May 24 2023, 00:00:00) [GCC 11.3.1 
20221121 (Red Hat 11.3.1-4)] (/usr/bin/python3.11)
  jinja version = 3.1.2
  libyaml = True
Using /opt/syseng/automation/ansible1/ansible.cfg as config file
Reading requirement file at '/opt/syseng/automation/ansible1/roles.yml'
Starting galaxy role install process
Processing role grafana_new 
ERROR! Unexpected Exception, this is probably a bug: 'bool' object is not 
subscriptable
the full traceback was:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/ansible/cli/__init__.py", line 
647, in cli_executor
exit_code = cli.run()
^
  File "/usr/lib/python3.11/site-packages/ansible/cli/galaxy.py", line 714, 
in run
return context.CLIARGS['func']()
   ^
  File "/usr/lib/python3.11/site-packages/ansible/cli/galaxy.py", line 115, 
in method_wrapper
return wrapped_method(*args, **kwargs)
   ^^^
  File "/usr/lib/python3.11/site-packages/ansible/cli/galaxy.py", line 
1357, in execute_install
self._execute_install_role(role_requirements)
  File "/usr/lib/python3.11/site-packages/ansible/cli/galaxy.py", line 
1428, in _execute_install_role
if role.install_info['version'] != role.version or force:
   ~^^^
TypeError: 'bool' object is not subscriptable
[ansible@jump04 ansible1]$ 

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/25570244-e4fa-4930-9fc5-2e161b805a52n%40googlegroups.com.


[ansible-project] ansible-galaxy newb error

2022-09-10 Thread Andy Bach

Hi,

I am pretty new to Ansible, and followed Learn Linux TV's excellent 
tutorial series.

In which, one of the last things we do is refactor things into different 
roles/tasks.

I am trying to follow the  rvm1-ansible "role" I downloaded using:

ansible-galaxy install rvm.ruby

however, I can see their example code was in "playbook" format, I thought I 
could just extract what I need and put it in my tasks/main.yml for the 
targetted web_server role. Like so:

- name: install rvm using the roles function
  roles:
  - { role: rvm.ruby,
  tags: ruby,
  rvm1_rubies: ['ruby-2.6.6'],
  rvm1_user: 'webuser'
}


However I get an instant parsing crash when I try to run the playbook.

$ ansible-playbook site.yml
ERROR! unexpected parameter type in action: 

The error appears to be in 
'/home/webuser/ansible/homelab/roles/web_servers/tasks/main.yml': line 46, 
column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- name: install rvm using the roles function
  ^ here

I have been trying to find the missing piece on my own through 
documentation and even reading other ansible-galaxy module install steps to 
see if I am missing something obvious which I don't know about.

Thanks

Andy




-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6c549e27-7f7a-4197-971a-42d0d5ce494bn%40googlegroups.com.


Re: [ansible-project] Ansible galaxy Role

2022-06-18 Thread Rilindo Foster
HI there,

You probably won’t get any direct answers on this, since Red Hat exams are 
under NDA. I will say that most tasks in question will provide enough detail 
that you should be able to complete the objective. So the next time you take 
the test, review environment and tasks carefully.

- Rilindo

> On Jun 18, 2022, at 11:51 AM, Rock  wrote:
> 
> Actually my question is from my last try for RHCE 294 Exam, and i was not 
> able to solve it,
> anyway thanks for all of you 
> 
> On Saturday, June 18, 2022 at 8:01:01 PM UTC+4 Abhijeet Kasurde wrote:
> I found this 
> https://galaxy.ansible.com/dipuyadav/configure_httpd_with_haproxy_role 
> <https://galaxy.ansible.com/dipuyadav/configure_httpd_with_haproxy_role>, I 
> never tried it myself, but you can take a look.
> 
> On Sat, Jun 18, 2022 at 9:09 PM Paul Manno  > wrote:
> Are you trying to write an ansible playbook that runs as a service to load 
> balance backends? That's not how ansible works. Sounds like you need a load 
> balancer like nginx or haproxy. 
> 
> Sent from my T-Mobile 5G Device
> Get Outlook for Android <https://aka.ms/AAb9ysg>
> From: ansible...@googlegroups.com 
>  
>  > on behalf of Abhijeet 
> Kasurde  >
> Sent: Saturday, June 18, 2022 9:04:17 AM
> To: ansible...@googlegroups.com 
>  
>  >
> Subject: Re: [ansible-project] Ansible galaxy Role
>  
> What is the question?
> 
> On Sat, Jun 18, 2022 at 5:34 PM Mahdi Idriss  > wrote:
> Hello Mates, i have a question regarding ansible galaxy roles: i want to 
> create a playbook that runs on hosts using balancer role, and this role 
> create service to load balance web server requests between hosts in the 
> webservers hosts, and if i browse the host (http://ansible1.example.com 
> <http://ansible1.example.com/>) it must produce (hello ansible user to 
> ansible1.example.com <http://ansible1.example.com/> on 192.168.137.200) and 
> if i reload it the output should be (hello ansible user to 
> ansible2.example.com <http://ansible2.example.com/> on 192.168.137.201)
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to ansible-proje...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/2fc725b1-bbdb-4829-adc0-bd5c5b6938a9n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/ansible-project/2fc725b1-bbdb-4829-adc0-bd5c5b6938a9n%40googlegroups.com?utm_medium=email_source=footer>.
> 
> 
> -- 
> Thanks,
> Abhijeet Kasurde
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to ansible-proje...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/CAFwWkHqUnevzYFw7zsqOe4gyXQB9DL_ukqB4uZ3krPsq1UQGAQ%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/ansible-project/CAFwWkHqUnevzYFw7zsqOe4gyXQB9DL_ukqB4uZ3krPsq1UQGAQ%40mail.gmail.com?utm_medium=email_source=footer>.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to ansible-proje...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/MN2PR03MB4703206D834D27CA414CDA3EFDAE9%40MN2PR03MB4703.namprd03.prod.outlook.com
>  
> <https://groups.google.com/d/msgid/ansible-project/MN2PR03MB4703206D834D27CA414CDA3EFDAE9%40MN2PR03MB4703.namprd03.prod.outlook.com?utm_medium=email_source=footer>.
> 
> 
> -- 
> Thanks,
> Abhijeet Kasurde
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to ansible-project+unsubscr...@googlegroups.com 
> <mailto:ansible-project+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/8378a899-e808-4451-a4c1-542b9808ea04n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/ansible-project/8378a899-e808-4451-a4c1-542b9808ea04n%40googlegroups.com?utm_medium=email_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5E0EAF42-49D6-4E27-B7B9-CE4818997C2F%40gmail.com.


Re: [ansible-project] Ansible galaxy Role

2022-06-18 Thread Rock
Actually my question is from my last try for RHCE 294 Exam, and i was not 
able to solve it,
anyway thanks for all of you 

On Saturday, June 18, 2022 at 8:01:01 PM UTC+4 Abhijeet Kasurde wrote:

> I found this 
> https://galaxy.ansible.com/dipuyadav/configure_httpd_with_haproxy_role, I 
> never tried it myself, but you can take a look.
>
> On Sat, Jun 18, 2022 at 9:09 PM Paul Manno  wrote:
>
>> Are you trying to write an ansible playbook that runs as a service to 
>> load balance backends? That's not how ansible works. Sounds like you need a 
>> load balancer like nginx or haproxy.  
>>
>> Sent from my T-Mobile 5G Device
>> Get Outlook for Android <https://aka.ms/AAb9ysg>
>> --
>> *From:* ansible...@googlegroups.com  on 
>> behalf of Abhijeet Kasurde 
>> *Sent:* Saturday, June 18, 2022 9:04:17 AM
>> *To:* ansible...@googlegroups.com 
>> *Subject:* Re: [ansible-project] Ansible galaxy Role 
>>  
>> What is the question?
>>
>> On Sat, Jun 18, 2022 at 5:34 PM Mahdi Idriss  
>> wrote:
>>
>> Hello Mates, i have a question regarding ansible galaxy roles: i want to 
>> create a playbook that runs on hosts using balancer role, and this role 
>> create service to load balance web server requests between hosts in the 
>> webservers hosts, and if i browse the host (http://ansible1.example.com) 
>> it must produce (hello ansible user to ansible1.example.com on 
>> 192.168.137.200) and if i reload it the output should be (hello ansible 
>> user to ansible2.example.com on 192.168.137.201)
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to ansible-proje...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/2fc725b1-bbdb-4829-adc0-bd5c5b6938a9n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/2fc725b1-bbdb-4829-adc0-bd5c5b6938a9n%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>>
>>
>> -- 
>> Thanks, 
>> Abhijeet Kasurde
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to ansible-proje...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/CAFwWkHqUnevzYFw7zsqOe4gyXQB9DL_ukqB4uZ3krPsq1UQGAQ%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/CAFwWkHqUnevzYFw7zsqOe4gyXQB9DL_ukqB4uZ3krPsq1UQGAQ%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to ansible-proje...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/MN2PR03MB4703206D834D27CA414CDA3EFDAE9%40MN2PR03MB4703.namprd03.prod.outlook.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/MN2PR03MB4703206D834D27CA414CDA3EFDAE9%40MN2PR03MB4703.namprd03.prod.outlook.com?utm_medium=email_source=footer>
>> .
>>
>
>
> -- 
> Thanks,
> Abhijeet Kasurde
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/8378a899-e808-4451-a4c1-542b9808ea04n%40googlegroups.com.


Re: [ansible-project] Ansible galaxy Role

2022-06-18 Thread Abhijeet Kasurde
I found this
https://galaxy.ansible.com/dipuyadav/configure_httpd_with_haproxy_role, I
never tried it myself, but you can take a look.

On Sat, Jun 18, 2022 at 9:09 PM Paul Manno  wrote:

> Are you trying to write an ansible playbook that runs as a service to load
> balance backends? That's not how ansible works. Sounds like you need a load
> balancer like nginx or haproxy.
>
> Sent from my T-Mobile 5G Device
> Get Outlook for Android <https://aka.ms/AAb9ysg>
> --
> *From:* ansible-project@googlegroups.com 
> on behalf of Abhijeet Kasurde 
> *Sent:* Saturday, June 18, 2022 9:04:17 AM
> *To:* ansible-project@googlegroups.com 
> *Subject:* Re: [ansible-project] Ansible galaxy Role
>
> What is the question?
>
> On Sat, Jun 18, 2022 at 5:34 PM Mahdi Idriss 
> wrote:
>
> Hello Mates, i have a question regarding ansible galaxy roles: i want to
> create a playbook that runs on hosts using balancer role, and this role
> create service to load balance web server requests between hosts in the
> webservers hosts, and if i browse the host (http://ansible1.example.com)
> it must produce (hello ansible user to ansible1.example.com on
> 192.168.137.200) and if i reload it the output should be (hello ansible
> user to ansible2.example.com on 192.168.137.201)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/2fc725b1-bbdb-4829-adc0-bd5c5b6938a9n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/2fc725b1-bbdb-4829-adc0-bd5c5b6938a9n%40googlegroups.com?utm_medium=email_source=footer>
> .
>
>
>
> --
> Thanks,
> Abhijeet Kasurde
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAFwWkHqUnevzYFw7zsqOe4gyXQB9DL_ukqB4uZ3krPsq1UQGAQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAFwWkHqUnevzYFw7zsqOe4gyXQB9DL_ukqB4uZ3krPsq1UQGAQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/MN2PR03MB4703206D834D27CA414CDA3EFDAE9%40MN2PR03MB4703.namprd03.prod.outlook.com
> <https://groups.google.com/d/msgid/ansible-project/MN2PR03MB4703206D834D27CA414CDA3EFDAE9%40MN2PR03MB4703.namprd03.prod.outlook.com?utm_medium=email_source=footer>
> .
>


-- 
Thanks,
Abhijeet Kasurde

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAFwWkHpG4YP39N_M4uDDSun7jkxxMwecvS47m7QLoQ0MWggHvQ%40mail.gmail.com.


Re: [ansible-project] Ansible galaxy Role

2022-06-18 Thread Paul Manno
Are you trying to write an ansible playbook that runs as a service to load 
balance backends? That's not how ansible works. Sounds like you need a load 
balancer like nginx or haproxy.

Sent from my T-Mobile 5G Device
Get Outlook for Android<https://aka.ms/AAb9ysg>

From: ansible-project@googlegroups.com  on 
behalf of Abhijeet Kasurde 
Sent: Saturday, June 18, 2022 9:04:17 AM
To: ansible-project@googlegroups.com 
Subject: Re: [ansible-project] Ansible galaxy Role

What is the question?

On Sat, Jun 18, 2022 at 5:34 PM Mahdi Idriss 
mailto:idriss.mahdi1...@gmail.com>> wrote:
Hello Mates, i have a question regarding ansible galaxy roles: i want to create 
a playbook that runs on hosts using balancer role, and this role create service 
to load balance web server requests between hosts in the webservers hosts, and 
if i browse the host 
(http://ansible1.example.com<http://ansible1.example.com/>) it must produce 
(hello ansible user to ansible1.example.com<http://ansible1.example.com/> on 
192.168.137.200) and if i reload it the output should be (hello ansible user to 
ansible2.example.com<http://ansible2.example.com/> on 192.168.137.201)

--
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
ansible-project+unsubscr...@googlegroups.com<mailto:ansible-project+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2fc725b1-bbdb-4829-adc0-bd5c5b6938a9n%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/2fc725b1-bbdb-4829-adc0-bd5c5b6938a9n%40googlegroups.com?utm_medium=email_source=footer>.


--
Thanks,
Abhijeet Kasurde

--
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
ansible-project+unsubscr...@googlegroups.com<mailto:ansible-project+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAFwWkHqUnevzYFw7zsqOe4gyXQB9DL_ukqB4uZ3krPsq1UQGAQ%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CAFwWkHqUnevzYFw7zsqOe4gyXQB9DL_ukqB4uZ3krPsq1UQGAQ%40mail.gmail.com?utm_medium=email_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/MN2PR03MB4703206D834D27CA414CDA3EFDAE9%40MN2PR03MB4703.namprd03.prod.outlook.com.


Re: [ansible-project] Ansible galaxy Role

2022-06-18 Thread dulhaver via Ansible Project


I agree, there is no question here really. unless your question is ... 
"please give me the playbook".
Not sure whether such a request meets the nature of such a mailing list 
really though.



On 18.06.22 17:21, Rock wrote:
the question is mentioned above !! ( regarding ansible galaxy roles: i 
want to create a playbook that runs on hosts using balancer role, and 
this role create service to load balance web server requests between 
hosts in the webservers hosts, and if i browse the host 
(http://ansible1.example.com) it must produce (hello ansible user to 
ansible1.example.com  on 
192.168.137.200) and if i reload it the output should be (hello 
ansible user to ansible2.example.com  on 
192.168.137.201))


On Saturday, June 18, 2022 at 6:04:43 PM UTC+4 Abhijeet Kasurde wrote:

What is the question?

On Sat, Jun 18, 2022 at 5:34 PM Mahdi Idriss
 wrote:

Hello Mates, i have a question regarding ansible galaxy roles:
i want to create a playbook that runs on hosts using balancer
role, and this role create service to load balance web server
requests between hosts in the webservers hosts, and if i
browse the host (http://ansible1.example.com) it must produce
(hello ansible user to ansible1.example.com
 on 192.168.137.200) and if i
reload it the output should be (hello ansible user to
ansible2.example.com  on
192.168.137.201)

-- 
You received this message because you are subscribed to the

Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/ansible-project/2fc725b1-bbdb-4829-adc0-bd5c5b6938a9n%40googlegroups.com

.



-- 
Thanks,

Abhijeet Kasurde

--
You received this message because you are subscribed to the Google 
Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0c649eb6-1ea7-4ebc-81dd-dbba5a989822n%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e741a9b2-3bc7-aff0-a599-3ea7eb33463f%40mailbox.org.


Re: [ansible-project] Ansible galaxy Role

2022-06-18 Thread Rock
the question is mentioned above !! ( regarding ansible galaxy roles: i want 
to create a playbook that runs on hosts using balancer role, and this role 
create service to load balance web server requests between hosts in the 
webservers hosts, and if i browse the host (http://ansible1.example.com) it 
must produce (hello ansible user to ansible1.example.com on 
192.168.137.200) and if i reload it the output should be (hello ansible 
user to ansible2.example.com on 192.168.137.201))

On Saturday, June 18, 2022 at 6:04:43 PM UTC+4 Abhijeet Kasurde wrote:

> What is the question?
>
> On Sat, Jun 18, 2022 at 5:34 PM Mahdi Idriss  
> wrote:
>
>> Hello Mates, i have a question regarding ansible galaxy roles: i want to 
>> create a playbook that runs on hosts using balancer role, and this role 
>> create service to load balance web server requests between hosts in the 
>> webservers hosts, and if i browse the host (http://ansible1.example.com) 
>> it must produce (hello ansible user to ansible1.example.com on 
>> 192.168.137.200) and if i reload it the output should be (hello ansible 
>> user to ansible2.example.com on 192.168.137.201)
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to ansible-proje...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/2fc725b1-bbdb-4829-adc0-bd5c5b6938a9n%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Thanks,
> Abhijeet Kasurde
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0c649eb6-1ea7-4ebc-81dd-dbba5a989822n%40googlegroups.com.


Re: [ansible-project] Ansible galaxy Role

2022-06-18 Thread Abhijeet Kasurde
What is the question?

On Sat, Jun 18, 2022 at 5:34 PM Mahdi Idriss 
wrote:

> Hello Mates, i have a question regarding ansible galaxy roles: i want to
> create a playbook that runs on hosts using balancer role, and this role
> create service to load balance web server requests between hosts in the
> webservers hosts, and if i browse the host (http://ansible1.example.com)
> it must produce (hello ansible user to ansible1.example.com on
> 192.168.137.200) and if i reload it the output should be (hello ansible
> user to ansible2.example.com on 192.168.137.201)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/2fc725b1-bbdb-4829-adc0-bd5c5b6938a9n%40googlegroups.com
> 
> .
>


-- 
Thanks,
Abhijeet Kasurde

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAFwWkHqUnevzYFw7zsqOe4gyXQB9DL_ukqB4uZ3krPsq1UQGAQ%40mail.gmail.com.


[ansible-project] Ansible galaxy Role

2022-06-18 Thread Mahdi Idriss
Hello Mates, i have a question regarding ansible galaxy roles: i want to 
create a playbook that runs on hosts using balancer role, and this role 
create service to load balance web server requests between hosts in the 
webservers hosts, and if i browse the host (http://ansible1.example.com) it 
must produce (hello ansible user to ansible1.example.com on 
192.168.137.200) and if i reload it the output should be (hello ansible 
user to ansible2.example.com on 192.168.137.201)

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2fc725b1-bbdb-4829-adc0-bd5c5b6938a9n%40googlegroups.com.


Fwd: [ansible-project] ansible-galaxy vs. ansible-galaxy collections

2022-03-07 Thread Hiero-nymo
Thank you for your help.
I have configured it as you told me and it works well

Best regards
-- Forwarded message -
From: jcp...@johnpetro.com 
Date: Friday, March 4, 2022 at 5:30:36 PM UTC+1
Subject: Re: [ansible-project] ansible-galaxy vs. ansible-galaxy collections
To: ansible...@googlegroups.com 


Maybe you have a formatting issue with your requirements.yml.   Mine looks 
like this, and it worked no problem.

collections:
   - name: theforeman.foreman

On Fri, Mar 4, 2022 at 10:36 AM Hiero-nymo  wrote:

> Hi everyone,
>
> On the ansible documentation, I found the collection "the foreman.foreman" 
> here's the link: theforeman.foreman 
> <https://docs.ansible.com/ansible/latest/collections/theforeman/foreman/index.html>
>
> This collection can manually be installed like:
> ansible-galaxy collection install the foreman.foreman and all seems ok.
>
> So, now I need to do the same things but automatically through the 
> requirements.yml 
> file, like this:
> ---
> collections:
> - theforeman.foreman
>
> Unfortunately this collection will not be find and when I do a search into 
> ansible-galaxy I don't find it.
>
> Is the collection something else than ansible-galaxy?
> I've the feeling that something goes wrong but I don't know what.
> Has anyone an idea about my issue?
> Could someone explain me the difference between these both repo?
>
> Thank you in advance for your help,
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to ansible-proje...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/c9118723-986e-44fa-9a36-59a559b6f201n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/ansible-project/c9118723-986e-44fa-9a36-59a559b6f201n%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/93052052-2105-49a4-b6f7-bc19ff2579c2n%40googlegroups.com.


Re: [ansible-project] ansible-galaxy vs. ansible-galaxy collections

2022-03-04 Thread John Petro
Maybe you have a formatting issue with your requirements.yml.   Mine looks
like this, and it worked no problem.

collections:
   - name: theforeman.foreman

On Fri, Mar 4, 2022 at 10:36 AM Hiero-nymo  wrote:

> Hi everyone,
>
> On the ansible documentation, I found the collection "the foreman.foreman"
> here's the link: theforeman.foreman
> 
>
> This collection can manually be installed like:
> ansible-galaxy collection install the foreman.foreman and all seems ok.
>
> So, now I need to do the same things but automatically through the 
> requirements.yml
> file, like this:
> ---
> collections:
> - theforeman.foreman
>
> Unfortunately this collection will not be find and when I do a search into
> ansible-galaxy I don't find it.
>
> Is the collection something else than ansible-galaxy?
> I've the feeling that something goes wrong but I don't know what.
> Has anyone an idea about my issue?
> Could someone explain me the difference between these both repo?
>
> Thank you in advance for your help,
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/c9118723-986e-44fa-9a36-59a559b6f201n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAPAjob9KwPG5g%2BwLU3T%2BL77gN%2Bd5nRQ7tfbFJyvLv0C2rcrsCw%40mail.gmail.com.


Re: [ansible-project] ansible-galaxy vs. ansible-galaxy collections

2022-03-04 Thread Dick Visser
"works for me"

$ cat r.yml
---
collections:
- theforeman.foreman

$ ANSIBLE_COLLECTIONS_PATH=$(python -c "import site;
print(site.getsitepackages()[0])") ansible-galaxy collection install
-r r.yml
Starting galaxy collection install process
Process install dependency map
Starting collection install process
Installing 'theforeman.foreman:3.2.0' to
'/Users/dick.visser/eduteams/customers/dick/venv/lib/python3.9/site-packages/ansible_collections/theforeman/foreman'
Downloading https://galaxy.ansible.com/download/theforeman-foreman-3.2.0.tar.gz
to /Users/dick.visser/.ansible/tmp/ansible-local-224752svvc2ov/tmpd74dil8_
theforeman.foreman (3.2.0) was installed successfully


On Fri, 4 Mar 2022 at 16:36, Hiero-nymo  wrote:
>
> Hi everyone,
>
> On the ansible documentation, I found the collection "the foreman.foreman" 
> here's the link: theforeman.foreman
>
> This collection can manually be installed like:
> ansible-galaxy collection install the foreman.foreman and all seems ok.
>
> So, now I need to do the same things but automatically through the 
> requirements.yml file, like this:
> ---
> collections:
> - theforeman.foreman
>
> Unfortunately this collection will not be find and when I do a search into 
> ansible-galaxy I don't find it.
>
> Is the collection something else than ansible-galaxy?
> I've the feeling that something goes wrong but I don't know what.
> Has anyone an idea about my issue?
> Could someone explain me the difference between these both repo?
>
> Thank you in advance for your help,
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/c9118723-986e-44fa-9a36-59a559b6f201n%40googlegroups.com.



-- 
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwMZUZ4AjEpTT5vHeAYOXAJRZL8JM6sxApxDw7h5UdO-hw%40mail.gmail.com.


[ansible-project] ansible-galaxy vs. ansible-galaxy collections

2022-03-04 Thread Hiero-nymo
Hi everyone,

On the ansible documentation, I found the collection "the foreman.foreman" 
here's the link: theforeman.foreman 


This collection can manually be installed like:
ansible-galaxy collection install the foreman.foreman and all seems ok.

So, now I need to do the same things but automatically through the 
requirements.yml 
file, like this:
---
collections:
- theforeman.foreman

Unfortunately this collection will not be find and when I do a search into 
ansible-galaxy I don't find it.

Is the collection something else than ansible-galaxy?
I've the feeling that something goes wrong but I don't know what.
Has anyone an idea about my issue?
Could someone explain me the difference between these both repo?

Thank you in advance for your help,

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c9118723-986e-44fa-9a36-59a559b6f201n%40googlegroups.com.


[ansible-project] ansible-galaxy and git verify-tag

2021-12-22 Thread 'Michael Ströder' via Ansible Project

HI!

Is it possible to make ansible-galaxy invoke 'git verify-tag' with a 
locally configured GPG public key on tags specified as version: in 
requirements.yml?


Thx in advance for any hint.

Ciao, Michael.

--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b2c1e94e-7822-f60f-28f8-01b703107189%40stroeder.com.


[ansible-project] Ansible Galaxy down?

2021-10-20 Thread Romain Pelisse
Hi,

It seems Ansible Galaxy is down (at least for me):
https://galaxy.ansible.com/

 Error 1016 Ray ID: 6a1137627e9ed463 • 2021-10-20 09:28:30 UTC
Origin DNS error
What happened?

You've requested a page on a website (galaxy.ansible.com) that is on the
Cloudflare network. Cloudflare is currently unable to resolve your
requested domain (galaxy.ansible.com).
What can I do?

If you are a visitor of this website:
Please try again in a few minutes.

If you are the owner of this website:
Check your DNS settings. If you are using a CNAME origin record, make sure
it is valid and resolvable. Additional troubleshooting information here.

Is there a way to track the issue and be notified when it's up again?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CALuBA_rNH83u39s-4C4r-9_mzH49uCw9SJHRD6F4jjRB3Y-zMw%40mail.gmail.com.


Re: [ansible-project] ansible-galaxy fails to install roles the second time

2021-01-13 Thread Riain Condon
Great :D thanks a mill, Racke. Just did this and works perfect.

Thanks again,
Riain

On Wednesday, 13 January 2021 at 12:10:08 UTC brae...@gmail.com wrote:

> On 1/13/21 1:04 PM, Riain Condon wrote:
> > Hey Racke,
> > 
> > Thanks for the quick reply! That's a great and simple idea, thanks! I 
> suppose as we are overwriting it anyway it
> > probably would have the same effect on other jobs running.
> > 
> > That being said, is there a way to set the role installation directory 
> on the fly? It might make more sense to install
> > it to the job's directory and clean that each time, rather than a 
> central directory, if that makes sense.
> > 
> > Thanks again,
> > Riain
>
> Hello Riain,
>
> yes it makes sense to install it in the job directory. You can tell 
> Ansible where to look for roles, so that should be
> no problem.
>
> Also if you retrieve the role from a git repository, it probably behaves 
> in the same way when you using git to install
> the role.
>
> Regards
> Racke
>
> > On Wednesday, 13 January 2021 at 11:51:17 UTC brae...@gmail.com wrote:
> > 
> > On 1/13/21 12:40 PM, Riain Condon wrote:
> > > Hi,
> > >
> > > I'm using Ansible Galaxy v2.9.15 and attempting to install roles. This 
> is all run as part of a Jenkins pipeline so
> > > ansible-galaxy is used across several jobs all installing the same 
> central roles when they're run. 
> > >
> > > Here's essentially what's happening:
> > >
> > > + ansible-galaxy -vvv install --force git+
> https://stash/ansible.digital.roles.git,develop
> > 
> > >  https://stash/ansible.digital.roles.git,develop>> ansible-galaxy
> > 2.9.15
> > >
> > > config file = /etc/ansible/ansible.cfg
> > > configured module search path = 
> [u'/home/jenkins-slave/.ansible/plugins/modules',
> > u'/usr/share/ansible/plugins/modules']
> > > ansible python module location = 
> /usr/lib/python2.7/site-packages/ansible
> > > executable location = /usr/bin/ansible-galaxy
> > > python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 
> 20150623 (Red Hat 4.8.5-39)]
> > > Using /etc/ansible/ansible.cfg as config file
> > > Opened /home/jenkins-slave/.ansible/galaxy_token
> > >
> > > Processing role ansible.digital.roles
> > > - changing role ansible.digital.roles from develop to develop
> > >
> > > archiving [u'/usr/bin/git', 'archive', 
> u'--prefix=ansible.digital.roles/',
> > > 
> u'--output=/home/jenkins-slave/.ansible/tmp/ansible-local-5372Tp6n8A/tmpySnNvS.tar',
>  
> u'develop']
> > > - extracting ansible.digital.roles to 
> /home/jenkins-slave/.ansible/roles/ansible.digital.roles
> > >
> > > [WARNING]: - ansible.digital.roles was NOT installed successfully: 
> /home
> > > /jenkins-slave/.ansible/roles/ansible.digital.roles doesn't appear to 
> contain a role. please remove this directory
> > > manually if you really want to put the role here. ERROR! - you can use 
> --ignore-errors to skip failed roles and
> > finish
> > > processing the list.
> > >
> > > So, this error occurs and if I then re-run this after deleting the 
> ansible.digital.roles directory manually, it works
> > > fine. However, re-running again after it succeeds ends up with the 
> above error again.
> > >
> > > Does anyone know a solution/work around? Is using --ignore-errors a 
> safe way to workaround this or could it end up
> > > masking other errors down the line?
> > >
> > > Thanks,
> > > Riain
> > 
> > Hello Riain,
> > 
> > why don't you remove the target directory before running the 
> ansible-galaxy install?
> > 
> > With using --force it downloads and overwrites the files in the target 
> directory anyway.
> > 
> > Regards
> > Racke
> > 
> > >
> > > --
> > > You received this message because you are subscribed to the Google 
> Groups "Ansible Project" group.
> > > To unsubscribe from this group and stop receiving emails from it, send 
> an email to
> > > ansible-proje...@googlegroups.com  ansible-proje...@googlegroups.com>.
> > > To view this discussion on the web visit
> > > 
> https://groups.google.com/d/msgid/ansible-project/9c86a3ea-6166-4836-a988-71939e1c25acn%40googlegroups.com
> > <
> https://groups.google.com/d/msgid/ansible-project/9c86a3ea-6166-4836-a988-71939e1c25acn%40googlegroups.com
> >
> > >
> > <
> https://groups.google.com/d/msgid/ansible-project/9c86a3ea-6166-4836-a988-71939e1c25acn%40googlegroups.com?utm_medium=email_source=footer
> > <
> https://groups.google.com/d/msgid/ansible-project/9c86a3ea-6166-4836-a988-71939e1c25acn%40googlegroups.com?utm_medium=email_source=footer
> >>.
> > 
> > 
> > 
> > -- 
> > Ecommerce and Linux consulting + Perl and web application programming.
> > Debian and Sympa administration. Provisioning with Ansible.
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Ansible Project" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to
> > 

Re: [ansible-project] ansible-galaxy fails to install roles the second time

2021-01-13 Thread Stefan Hornburg (Racke)
On 1/13/21 1:04 PM, Riain Condon wrote:
> Hey Racke,
> 
> Thanks for the quick reply! That's a great and simple idea, thanks! I suppose 
> as we are overwriting it anyway it
> probably would have the same effect on other jobs running.
> 
> That being said, is there a way to set the role installation directory on the 
> fly? It might make more sense to install
> it to the job's directory and clean that each time, rather than a central 
> directory, if that makes sense.
> 
> Thanks again,
> Riain

Hello Riain,

yes it makes sense to install it in the job directory. You can tell Ansible 
where to look for roles, so that should be
no problem.

Also if you retrieve the role from a git repository, it probably behaves in the 
same way when you using git to install
the role.

Regards
Racke

> On Wednesday, 13 January 2021 at 11:51:17 UTC brae...@gmail.com wrote:
> 
> On 1/13/21 12:40 PM, Riain Condon wrote:
> > Hi,
> >
> > I'm using Ansible Galaxy v2.9.15 and attempting to install roles. This 
> is all run as part of a Jenkins pipeline so
> > ansible-galaxy is used across several jobs all installing the same 
> central roles when they're run. 
> >
> > Here's essentially what's happening:
> >
> > + ansible-galaxy -vvv install --force 
> git+https://stash/ansible.digital.roles.git,develop
> 
> >  > ansible-galaxy
> 2.9.15
> >
> > config file = /etc/ansible/ansible.cfg
> > configured module search path = 
> [u'/home/jenkins-slave/.ansible/plugins/modules',
> u'/usr/share/ansible/plugins/modules']
> > ansible python module location = 
> /usr/lib/python2.7/site-packages/ansible
> > executable location = /usr/bin/ansible-galaxy
> > python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 
> 20150623 (Red Hat 4.8.5-39)]
> > Using /etc/ansible/ansible.cfg as config file
> > Opened /home/jenkins-slave/.ansible/galaxy_token
> >
> > Processing role ansible.digital.roles
> > - changing role ansible.digital.roles from develop to develop
> >
> > archiving [u'/usr/bin/git', 'archive', 
> u'--prefix=ansible.digital.roles/',
> > 
> u'--output=/home/jenkins-slave/.ansible/tmp/ansible-local-5372Tp6n8A/tmpySnNvS.tar',
>  u'develop']
> > - extracting ansible.digital.roles to 
> /home/jenkins-slave/.ansible/roles/ansible.digital.roles
> >
> > [WARNING]: - ansible.digital.roles was NOT installed successfully: /home
> > /jenkins-slave/.ansible/roles/ansible.digital.roles doesn't appear to 
> contain a role. please remove this directory
> > manually if you really want to put the role here. ERROR! - you can use 
> --ignore-errors to skip failed roles and
> finish
> > processing the list.
> >
> > So, this error occurs and if I then re-run this after deleting the 
> ansible.digital.roles directory manually, it works
> > fine. However, re-running again after it succeeds ends up with the 
> above error again.
> >
> > Does anyone know a solution/work around? Is using --ignore-errors a 
> safe way to workaround this or could it end up
> > masking other errors down the line?
> >
> > Thanks,
> > Riain
> 
> Hello Riain,
> 
> why don't you remove the target directory before running the 
> ansible-galaxy install?
> 
> With using --force it downloads and overwrites the files in the target 
> directory anyway.
> 
> Regards
> Racke
> 
> >
> > --
> > You received this message because you are subscribed to the Google 
> Groups "Ansible Project" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to
> > ansible-proje...@googlegroups.com 
> .
> > To view this discussion on the web visit
> > 
> https://groups.google.com/d/msgid/ansible-project/9c86a3ea-6166-4836-a988-71939e1c25acn%40googlegroups.com
> 
> 
> >
> 
>  
> >.
> 
> 
> 
> -- 
> Ecommerce and Linux consulting + Perl and web application programming.
> Debian and Sympa administration. Provisioning with Ansible.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to
> ansible-project+unsubscr...@googlegroups.com 
> .
> To view this 

Re: [ansible-project] ansible-galaxy fails to install roles the second time

2021-01-13 Thread Riain Condon
Hey Racke,

Thanks for the quick reply! That's a great and simple idea, thanks! I 
suppose as we are overwriting it anyway it probably would have the same 
effect on other jobs running.

That being said, is there a way to set the role installation directory on 
the fly? It might make more sense to install it to the job's directory and 
clean that each time, rather than a central directory, if that makes sense.

Thanks again,
Riain
On Wednesday, 13 January 2021 at 11:51:17 UTC brae...@gmail.com wrote:

> On 1/13/21 12:40 PM, Riain Condon wrote:
> > Hi,
> > 
> > I'm using Ansible Galaxy v2.9.15 and attempting to install roles. This 
> is all run as part of a Jenkins pipeline so
> > ansible-galaxy is used across several jobs all installing the same 
> central roles when they're run. 
> > 
> > Here's essentially what's happening:
> > 
> > + ansible-galaxy -vvv install --force git+
> https://stash/ansible.digital.roles.git,develop
> >  ansible-galaxy 2.9.15
> > 
> > config file = /etc/ansible/ansible.cfg
> > configured module search path = 
> [u'/home/jenkins-slave/.ansible/plugins/modules', 
> u'/usr/share/ansible/plugins/modules']
> > ansible python module location = /usr/lib/python2.7/site-packages/ansible
> > executable location = /usr/bin/ansible-galaxy
> > python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 
> 20150623 (Red Hat 4.8.5-39)]
> > Using /etc/ansible/ansible.cfg as config file
> > Opened /home/jenkins-slave/.ansible/galaxy_token
> > 
> > Processing role ansible.digital.roles
> > - changing role ansible.digital.roles from develop to develop
> > 
> > archiving [u'/usr/bin/git', 'archive', 
> u'--prefix=ansible.digital.roles/',
> > 
> u'--output=/home/jenkins-slave/.ansible/tmp/ansible-local-5372Tp6n8A/tmpySnNvS.tar',
>  
> u'develop']
> > - extracting ansible.digital.roles to 
> /home/jenkins-slave/.ansible/roles/ansible.digital.roles
> > 
> > [WARNING]: - ansible.digital.roles was NOT installed successfully: /home
> > /jenkins-slave/.ansible/roles/ansible.digital.roles doesn't appear to 
> contain a role. please remove this directory
> > manually if you really want to put the role here. ERROR! - you can use 
> --ignore-errors to skip failed roles and finish
> > processing the list.
> > 
> > So, this error occurs and if I then re-run this after deleting the 
> ansible.digital.roles directory manually, it works
> > fine. However, re-running again after it succeeds ends up with the above 
> error again.
> > 
> > Does anyone know a solution/work around? Is using --ignore-errors a safe 
> way to workaround this or could it end up
> > masking other errors down the line?
> > 
> > Thanks,
> > Riain
>
> Hello Riain,
>
> why don't you remove the target directory before running the 
> ansible-galaxy install?
>
> With using --force it downloads and overwrites the files in the target 
> directory anyway.
>
> Regards
> Racke
>
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Ansible Project" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to
> > ansible-proje...@googlegroups.com  ansible-proje...@googlegroups.com>.
> > To view this discussion on the web visit
> > 
> https://groups.google.com/d/msgid/ansible-project/9c86a3ea-6166-4836-a988-71939e1c25acn%40googlegroups.com
> > <
> https://groups.google.com/d/msgid/ansible-project/9c86a3ea-6166-4836-a988-71939e1c25acn%40googlegroups.com?utm_medium=email_source=footer
> >.
>
>
> -- 
> Ecommerce and Linux consulting + Perl and web application programming.
> Debian and Sympa administration. Provisioning with Ansible.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/8f3af4dd-a1dc-4439-9fff-d415906826b7n%40googlegroups.com.


Re: [ansible-project] ansible-galaxy fails to install roles the second time

2021-01-13 Thread Stefan Hornburg (Racke)
On 1/13/21 12:40 PM, Riain Condon wrote:
> Hi,
> 
> I'm using Ansible Galaxy v2.9.15 and attempting to install roles. This is all 
> run as part of a Jenkins pipeline so
> ansible-galaxy is used across several jobs all installing the same central 
> roles when they're run. 
> 
> Here's essentially what's happening:
> 
> + ansible-galaxy -vvv install --force 
> git+https://stash/ansible.digital.roles.git,develop
>  ansible-galaxy 2.9.15
> 
> config file = /etc/ansible/ansible.cfg
> configured module search path = 
> [u'/home/jenkins-slave/.ansible/plugins/modules', 
> u'/usr/share/ansible/plugins/modules']
> ansible python module location = /usr/lib/python2.7/site-packages/ansible
> executable location = /usr/bin/ansible-galaxy
> python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 
> (Red Hat 4.8.5-39)]
> Using /etc/ansible/ansible.cfg as config file
> Opened /home/jenkins-slave/.ansible/galaxy_token
> 
> Processing role ansible.digital.roles
> - changing role ansible.digital.roles from develop to develop
> 
> archiving [u'/usr/bin/git', 'archive', u'--prefix=ansible.digital.roles/',
> u'--output=/home/jenkins-slave/.ansible/tmp/ansible-local-5372Tp6n8A/tmpySnNvS.tar',
>  u'develop']
> - extracting ansible.digital.roles to 
> /home/jenkins-slave/.ansible/roles/ansible.digital.roles
> 
> [WARNING]: - ansible.digital.roles was NOT installed successfully: /home
> /jenkins-slave/.ansible/roles/ansible.digital.roles doesn't appear to contain 
> a role. please remove this directory
> manually if you really want to put the role here. ERROR! - you can use 
> --ignore-errors to skip failed roles and finish
> processing the list.
> 
> So, this error occurs and if I then re-run this after deleting the 
> ansible.digital.roles directory manually, it works
> fine. However, re-running again after it succeeds ends up with the above 
> error again.
> 
> Does anyone know a solution/work around? Is using --ignore-errors a safe way 
> to workaround this or could it end up
> masking other errors down the line?
> 
> Thanks,
> Riain

Hello Riain,

why don't you remove the target directory before running the ansible-galaxy 
install?

With using --force it downloads and overwrites the files in the target 
directory anyway.

Regards
Racke

> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to
> ansible-project+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/9c86a3ea-6166-4836-a988-71939e1c25acn%40googlegroups.com
> .


-- 
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0cf16abd-2151-47c8-3ef7-439fe9dce256%40linuxia.de.


OpenPGP_signature
Description: OpenPGP digital signature


[ansible-project] ansible-galaxy fails to install roles the second time

2021-01-13 Thread Riain Condon
Hi,

I'm using Ansible Galaxy v2.9.15 and attempting to install roles. This is 
all run as part of a Jenkins pipeline so ansible-galaxy is used across 
several jobs all installing the same central roles when they're run. 

Here's essentially what's happening:

+ ansible-galaxy -vvv install --force git+
https://stash/ansible.digital.roles.git,develop ansible-galaxy 2.9.15 

config file = /etc/ansible/ansible.cfg 
configured module search path = 
[u'/home/jenkins-slave/.ansible/plugins/modules', 
u'/usr/share/ansible/plugins/modules'] 
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible-galaxy
python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 
(Red Hat 4.8.5-39)]
Using /etc/ansible/ansible.cfg as config file 
Opened /home/jenkins-slave/.ansible/galaxy_token

Processing role ansible.digital.roles
- changing role ansible.digital.roles from develop to develop 

archiving [u'/usr/bin/git', 'archive', u'--prefix=ansible.digital.roles/', 
u'--output=/home/jenkins-slave/.ansible/tmp/ansible-local-5372Tp6n8A/tmpySnNvS.tar',
 
u'develop']
- extracting ansible.digital.roles to 
/home/jenkins-slave/.ansible/roles/ansible.digital.roles 

[WARNING]: - ansible.digital.roles was NOT installed successfully: /home 
/jenkins-slave/.ansible/roles/ansible.digital.roles doesn't appear to 
contain a role. please remove this directory manually if you really want to 
put the role here. ERROR! - you can use --ignore-errors to skip failed 
roles and finish processing the list.

So, this error occurs and if I then re-run this after deleting the 
ansible.digital.roles directory manually, it works fine. However, 
re-running again after it succeeds ends up with the above error again.

Does anyone know a solution/work around? Is using --ignore-errors a safe 
way to workaround this or could it end up masking other errors down the 
line?

Thanks,
Riain

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9c86a3ea-6166-4836-a988-71939e1c25acn%40googlegroups.com.


[ansible-project] Ansible Galaxy is not responding

2020-10-29 Thread hofitz0r
Hi all,
I hope that it's the right group to post this.
When I try to use ansible galaxy in my ansible script I receive an error: 
"..Unknown error\nwhen attempting to call Galaxy at '
https://galaxy.ansible.com/api/': The read\noperation timed out.." .
also the site https://galaxy.ansible.com/search is showing 503 error code.

Do you have any estimation for a fix?
Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/014b8fca-d24a-4ab0-a31e-83e8b3660a34n%40googlegroups.com.


Re: [ansible-project] Ansible-galaxy with http/s proxy

2019-07-16 Thread Andrew Cheruiyot

Thank you --ignore-certs worked for me.

Regards,
Andrew

On Tuesday, 12 January 2016 00:40:03 UTC+3, Chris Houseknecht wrote:
>
> This works in ansible 2.0. It requires using the --ignore-certs flag. 
>
> I simulated a proxy server using Charles Proxy. In the Charles proxy 
> settings I enabled SSL Proxying for galaxy.ansible.com:443. Then I did 
> the following:
>
> $ export https_proxy=http://localhost:
> $ ansible-galaxy --ignore-certs init my-role-foo
> - my-role-foo was created successfully
>
> From the above I can see the request route through Charles and return a 
> valid response from the API. Without --ignore-certs the init command fails. 
> I think the issue is that the proxy is not forwarding the root certificate 
> from galaxy.ansible.com down to the client.
>
> Prior to 2.0 the --ignore-certs flag is not available on the init command. 
> I'm looking into the code now and will submit a PR to add it.
>
>
> --Chris
>
>
>
> On Monday, January 11, 2016 at 11:00:57 AM UTC-5, Jameson Pugh wrote:
>>
>> On Sunday, January 10, 2016 at 2:15:37 AM UTC-5, Александр Костырев wrote:
>>>
>>> I've got the same problem.
>>>
>>
>> I'm also running into this issue. I have http_proxy and https_proxy 
>> variables pointing to our proxy server, and I'm able to wget and curl from 
>> galaxy.ansible.com, but if I run ansible-galaxy init, I get "- the API 
>> server (galaxy.ansible.com) is not responding, please try again later." 
>> Is the only way I'll be able to use it at this point manually downloading? 
>> Thanks.
>>
>> =-Jameson
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1832b929-a0d0-43e7-9844-ca19397be056%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible Galaxy - requirements.yml and a single github repo with multiple roles

2019-03-22 Thread Seth Daemen
Ok then I need mazer for multiple roles repositories. Buy the requirements.yml 
in roles directory use automtically ansible-galaxy command.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a9d69b69-764b-4b5c-a2a7-d3baabe3d538%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible Galaxy - requirements.yml and a single github repo with multiple roles

2019-03-22 Thread Jonathan Lozada De La Matta
yes, look at https://galaxy.ansible.com/docs/using/installing.html and
https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#directory-layout

On Fri, Mar 22, 2019 at 5:32 PM Seth Daemen  wrote:

> Did you find a solution forum this?
> Is IT posible tot user one git repo for multiple roles and use the ansible
> galaxy command OR requirements.yml
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/82d92473-5250-4036-810b-29cf85706cda%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 

Jonathan lozada de la matta

AUTOMATION PRACTICE

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BJB7HhN7MRGgWN6JccL2rjOpGrRWnui33m_sNm2OP7J4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy - requirements.yml and a single github repo with multiple roles

2019-03-22 Thread Seth Daemen
Did you find a solution forum this?
Is IT posible tot user one git repo for multiple roles and use the ansible 
galaxy command OR requirements.yml

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/82d92473-5250-4036-810b-29cf85706cda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy: Unable to Clone Private Git Repo

2018-10-08 Thread Justin Seiser
I have my ansible role in a git repo, in AWS Code Commit.  I have an SSH 
Key that allows me to clone the repo.

I have an ~/.ssh/config file that configures the key/user for code commit.

Host git-codecommit.us-east-1.amazonaws.com
 User AKIAJKJVTT7KGQ3WKG6A
 IdentityFile ~/.ssh/codecommit_rsa

This works when I attempt a regular git clone.

git clone ssh:
//apkaiiej5qazs35e5...@git-codecommit.us-east-1.amazonaws.com/v1/repos/ansible-role-openvpn


I can not figure out how to dupe this with ansible galaxy. 

I have tried the following.


- src: akiajkjvtt7kgq3wk...@git-codecommit.us-east-1.amazonaws.com/v1/repos/
ansible-role-openvpn.git
  scm: git
  

- src: ssh:
//akiajkjvtt7kgq3wk...@git-codecommit.us-east-1.amazonaws.com/v1/repos/ansible-role-openvpn.git
  scm: git

  
- src: git+ssh:
//akiajkjvtt7kgq3wk...@git-codecommit.us-east-1.amazonaws.com/v1/repos/ansible-role-openvpn.git
  scm: git



They all result in the same error.

Processing role ansible-role-openvpn [WARNING]: - ansible-role-openvpn was NOT 
installed successfully: - command git clone 
ssh://akiajkjvtt7kgq3wk...@git-codecommit.us- 
east-1.amazonaws.com/v1/repos/ansible-role-openvpn.git ansible-role-openvpn 
failed in directory /tmp/tmpK_lRx2 (rc=128)



-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2068f000-5b74-48cb-aff6-66c762891b7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy -> william-yeh.oracle-java not found

2018-09-04 Thread 'Dan Alvizu' via Ansible Project
Hi,

I am using ansible-galaxy and a requirements.yml file. I have CI set up to 
do linting. My CI build today - it last successfully ran 6 days ago. I 
think the group name of my dependencies changed, but now I can't get them 
to work:

My requirements.yml looks like this:

- src: ansiblebit.grafana
  version: 2.14.2
- src: ftao.nginx-reverse-proxy
  version: master
- src: williamyeh.oracle-java
  version: 2.11.0
- src: williamyeh.prometheus
  version: 2.3.2


My linting uses a docker file which gets built:

```
FROM python:3.7-slim

RUN mkdir /ansible
WORKDIR /ansible

COPY requirements.yml ./
COPY requirements.txt ./

# TODO: Artifactory pypi mirror support appears to be broken
#ENV PIP_INDEX_URL 
https://art01.corp.pingidentity.com/artifactory/api/pypi/pypi/simple

RUN pip install --no-cache --requirement requirements.txt
RUN ansible-galaxy install -r requirements.yml

# NOTE: Must use array syntax:
# 
https://serverfault.com/questions/647779/docker-run-not-appending-arguments-to-image-entrypoint
ENTRYPOINT ["/usr/local/bin/ansible-playbook"]
```


requirements.txt:
```
ansible>=2.6,<2.8
ansible-lint>=3
```

This first failed as `williamyeh.prometheus` was not found:

```
Step 7/8 : RUN ansible-galaxy install -r requirements.yml
 ---> Running in 5c2405e1ccce
- downloading role 'grafana', owned by ansiblebit
- downloading role from 
https://github.com/ansiblebit/grafana/archive/2.14.2.tar.gz
- extracting ansiblebit.grafana to /root/.ansible/roles/ansiblebit.grafana
- ansiblebit.grafana (2.14.2) was installed successfully
- downloading role 'nginx-reverse-proxy', owned by ftao
- downloading role from 
https://github.com/ftao/ansible-role-nginx-reverse-proxy/archive/master.tar.gz
- extracting ftao.nginx-reverse-proxy to 
/root/.ansible/roles/ftao.nginx-reverse-proxy
- ftao.nginx-reverse-proxy (master) was installed successfully
- downloading role 'oracle-java', owned by williamyeh
- downloading role from 
https://github.com/William-Yeh/ansible-oracle-java/archive/2.11.0.tar.gz
- extracting williamyeh.oracle-java to 
/root/.ansible/roles/williamyeh.oracle-java
- williamyeh.oracle-java (2.11.0) was installed successfully
- downloading role 'prometheus', owned by williamyeh
 [WARNING]: - williamyeh.prometheus was NOT installed successfully: - sorry,
williamyeh.prometheus was not found on https://galaxy.ansible.com.
ERROR! - you can use --ignore-errors to skip failed roles and finish 
processing the list.
```

This is very weird... I see it in galaxy but with a 'william-yeh' (with a 
hyphen)

https://galaxy.ansible.com/william-yeh/prometheus

I also see oracle-java

https://galaxy.ansible.com/william-yeh/oracle-java

I update requirements.yml:

- src: ansiblebit.grafana
  version: 2.14.2
- src: ftao.nginx-reverse-proxy
  version: master
- src: william-yeh.oracle-java
  version: 2.11.0
- src: william-yeh.prometheus
  version: 2.3.2

Now oracle-java is not found:

```
Step 7/8 : RUN ansible-galaxy install -r requirements.yml
 ---> Running in 5f42bcf58038
- downloading role 'grafana', owned by ansiblebit
- downloading role from 
https://github.com/ansiblebit/grafana/archive/2.14.2.tar.gz
- extracting ansiblebit.grafana to /root/.ansible/roles/ansiblebit.grafana
- ansiblebit.grafana (2.14.2) was installed successfully
- downloading role 'nginx-reverse-proxy', owned by ftao
- downloading role from 
https://github.com/ftao/ansible-role-nginx-reverse-proxy/archive/master.tar.gz
- extracting ftao.nginx-reverse-proxy to 
/root/.ansible/roles/ftao.nginx-reverse-proxy
- ftao.nginx-reverse-proxy (master) was installed successfully
- downloading role 'oracle-java', owned by william-yeh
 [WARNING]: - william-yeh.oracle-java was NOT installed successfully: - 
sorry,
william-yeh.oracle-java was not found on https://galaxy.ansible.com.
ERROR! - you can use --ignore-errors to skip failed roles and finish 
processing the list.
Service 'ansible' failed to build: The command '/bin/sh -c ansible-galaxy 
install -r requirements.yml' returned a non-zero code: 1
ERROR: Job failed: exit status 1
```

I'm a bit lost as to how this broke and why it is no longer working: I 
assumed that the group changed in galaxy, but if that were the case why 
does changing it to match not work?



-- 
_CONFIDENTIALITY NOTICE: This email may contain confidential and privileged 
material for the sole use of the intended recipient(s). Any review, use, 
distribution or disclosure by others is strictly prohibited.  If you have 
received this communication in error, please notify the sender immediately 
by e-mail and delete the message and any file attachments from your 
computer. Thank you._

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 

[ansible-project] ansible-galaxy install is failing

2017-12-05 Thread SK
*I am following https://eos.arista.com/arista-eos-roles-for-ansible/ to 
setup Ansible for Arista devices and I am receiving the below errors:*

[root@dev14 ansible]# ansible-galaxy install arista.eos-system
 [WARNING]: - arista.eos-system was NOT installed successfully: Failed to 
get data from the API server (https://galaxy.ansible.com/api/): Connection 
to proxy failed

ERROR! - you can use --ignore-errors to skip failed roles and finish 
processing the list.
[root@dev14 ansible]# ansible-galaxy install arista.eos
 [WARNING]: - arista.eos was NOT installed successfully: Failed to get data 
from the API server (https://galaxy.ansible.com/api/): Connection to proxy 
failed

ERROR! - you can use --ignore-errors to skip failed roles and finish 
processing the list.
[root@dev14 ansible]# ansible-galaxy install arista.eos-system 
--ignore-errors
 [WARNING]: - arista.eos-system was NOT installed successfully: Failed to 
get data from the API server (https://galaxy.ansible.com/api/): Connection 
to proxy failed

[root@dev14 ansible]# ansible-galaxy install arista.eos --ignore-errors
 [WARNING]: - arista.eos was NOT installed successfully: Failed to get data 
from the API server (https://galaxy.ansible.com/api/): Connection to proxy 
failed

[root@dev14 ansible]#

*I can access the url using curl command without any issue:*

[root@dev14 ansible]# curl -I https://galaxy.ansible.com/api/
HTTP/1.1 200 Connection established

HTTP/1.1 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Date: Wed, 06 Dec 2017 02:43:28 GMT
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5
Set-Cookie: sessionid=wlmm9uwqp9vad9z5pobql5sgn7a5xzy0; expires=Wed, 
20-Dec-2017 02:43:28 GMT; httponly; Max-Age=1209600; Path=/
Vary: Accept,Cookie
X-Frame-Options: SAMEORIGIN
Connection: keep-alive

[root@dev14 ansible]#

*Any idea where I am going wrong?  Below are the ansible and python 
versions in use.*

[root@dev14 ansible]# ansible --version
ansible 2.3.2.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
  python version = 2.7.5 (default, Nov  6 2016, 00:28:07) [GCC 4.8.5 
20150623 (Red Hat 4.8.5-11)]
[root@dev14 ansible]# ansible-galaxy --version
ansible-galaxy 2.3.2.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
  python version = 2.7.5 (default, Nov  6 2016, 00:28:07) [GCC 4.8.5 
20150623 (Red Hat 4.8.5-11)]
[root@dev14 ansible]#

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2539e2f5-d21a-4b11-b548-6016e394db54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible Galaxy pip Dependencies

2017-12-02 Thread Toshio Kuratomi
Typically you make it the first task in your role.

-Toshio

On Dec 1, 2017 4:17 PM, "Andrew Vaughan"  wrote:

Hello all,

I have a plugin that's included with a role I intend for Ansible Galaxy.

https://galaxy.ansible.com/andrewvaughan/ansible-prompt/

I need, in this case, to have a Python pip dependency installed in order
for the role to work correctly.  I have not been able to find any
documentation or questions regarding the installation of Python
dependencies to support Ansible roles.  Is this possible?  If so, what is
the best practice for making it work?

I suppose I could always add pip install -r ~/.ansible/roles/
andrewvaughan.ansible-prompt/requirements.txt as an instruction in the
readme, but that *really* takes away from the ease-of-use factor that
Galaxy provides.

Thanks in advance,

Andrew

-- 
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/ansible-project/01d99259-23ee-4c12-8abf-61a76b1f3c49%40googlegroups.
com

.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAPrnkaQZv3ZUGP2koYP8qJ%3D35SLw6EsaJxp7_vLw_Dxo4UDtoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy pip Dependencies

2017-12-01 Thread Andrew Vaughan
Hello all,

I have a plugin that's included with a role I intend for Ansible Galaxy.

https://galaxy.ansible.com/andrewvaughan/ansible-prompt/

I need, in this case, to have a Python pip dependency installed in order 
for the role to work correctly.  I have not been able to find any 
documentation or questions regarding the installation of Python 
dependencies to support Ansible roles.  Is this possible?  If so, what is 
the best practice for making it work?

I suppose I could always add pip install -r 
~/.ansible/roles/andrewvaughan.ansible-prompt/requirements.txt as an 
instruction in the readme, but that *really* takes away from the 
ease-of-use factor that Galaxy provides.

Thanks in advance,

Andrew

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/01d99259-23ee-4c12-8abf-61a76b1f3c49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] ansible-galaxy git clone failures

2017-08-11 Thread Prasoon Majumdar
Hello,

I was trying to clone roles using ansible-galaxy cli from private repo, 

requirements file : working.yml


- src: git+https://g...@git.xx.com/devops/ansible-role-fpm.git
  name: watever.fpm
  version: master

ansible-galaxy install --role-file=ansible-galaxy.yml 
--roles-path="${PWD}/roles/" --force

But its throwing errors like:


[WARNING]: - fpm was NOT installed successfully: - command git clone 
https://g...@git.xx.com/devops/ansible-role-fpm.git
.fpm failed in directory /tmp/tmpGS0PhX (rc=128)

ERROR! - you can use --ignore-errors to skip failed roles and finish 
processing the list.

I tried different combinations of "git+ssh" but nothing worked, i can 
easily clone it directory using "git clone" way but ansible-galaxy way is 
not working, ideas ???

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f3a32105-06b7-4ffd-a04b-b29828e60217%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy role removal

2017-07-31 Thread Rahul Mohandas
Hello,

I have noticed an issue caused by user error. It would be great if some 
admin could help me resolve this issue. Based on the source code it seems 
someone with "admin" would be able to delete this erroneous role.

If you try to import a role through command line and include the 
--role-name and you provide incorrect arguments it will timeout the import 
and key the role-name locked

example:

ansible-galaxy import rahul0705 rahul0705/ansible-certbot --role-name certbot

This was a mistake (the extra username in the repo field). This creates the 
following log:

Starting import 99571: role_name=certbot 
repo=rahul0705/rahul0705/ansible-certbot

Once that times out we still cannot use the certbot role name in the 
rahul0705 namespace.

Starting import 99568: role_name=ansible-certbot repo=rahul0705/ansible-certbot
Accessing branch: master
Parsing and validating meta data.
Setting role name to certbot
Parsing galaxy_tags
Parsing platforms
Adding dependencies
Parsing and validating README
Adding repo tags as role versions
Removing old tags
Import completed
Status SUCCESS : warnings=0 errors=0
Error saving role: duplicate key value violates unique constraint 
"main_role_namespace_36aa1070a7d8dc70_uniq" DETAIL: Key (namespace, 
name)=(rahul0705, certbot) already exists.

When I try to delete the incorrect import I get

% ansible-galaxy delete -vvv rahul0705 rahul0705/ansible-certbot
No config file found; using defaults
Opened /Users/rahul/.ansible_galaxy
https://galaxy.ansible.com/api/v1/removerole/?github_user=rahul0705_repo=rahul0705/ansible-certbot
ERROR! Galaxy user rahul does not have access to repo 
rahul0705/rahul0705/ansible-certbot

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/087e143d-fdca-4805-b38c-f35052038e01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible-galaxy requirements.yml meta-dependencies.

2017-03-03 Thread Leigh Hayward
Hi all,

I have a quick question regarding the install -r requirements.yml 
functionality in ansible-galaxy.

I have role A which has a requirements.yml file which defines role B as a 
requirement. Role B in turn has a requirements.yml file which states role C 
is required.

If i use ansible-galaxy install -r requirements.yml in Role A will it 
install Role C?

Best Regards,
Leigh Hayward

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b5d04040-df1c-494f-a36c-87ae41cc7a8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] ansible galaxy --container-enabled option

2017-01-31 Thread Greg DeKoenigsberg
Vang, you want to read the separate Ansible Container documentation:

https://docs.ansible.com/ansible-container/

--g

On Sat, Jan 28, 2017 at 1:00 PM, Vang Nguyen  wrote:

> Hi,
>
> I was just reading about the --container-enabled option for ansible-galaxy
> init when creating new roles on http://docs.ansible.com/
> ansible/galaxy.html#container-enabled. However I can't seem to find any
> reference to which version of ansible-galaxy this is available on to get
> access to the feature. I've got ansible-galaxy 2.2.1.0 and the init help
> doesn't say anything about the feature. How do you create an ansible role
> with that is container enabled as mentioned in the doc? It says:
>
> Container Enabled 
>
> If you are creating a Container Enabled role, use the *–container-enabled* 
> option.
> This will create the same directory structure as above, but populate it
> with default files appropriate for a Container Enabled role. For instance,
> the README.md has a slightly different structure, the *.travis.yml* file
> tests the role using Ansible Container
> , and the meta directory
> includes a *container.yml* file.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/ansible-project/e02fb498-17f5-413b-a90b-612bde780f1d%40googlegroups.
> com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Greg DeKoenigsberg
Ansible Community Guy

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAM1FbhHram%3DPg7xiWVxyHKrhc9pMfJ%2BiyQyDZ3eSCDw1tRHjeQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] ansible galaxy --container-enabled option

2017-01-28 Thread Vang Nguyen
Hi,

I was just reading about the --container-enabled option for ansible-galaxy 
init when creating new roles on 
http://docs.ansible.com/ansible/galaxy.html#container-enabled. However I 
can't seem to find any reference to which version of ansible-galaxy this is 
available on to get access to the feature. I've got ansible-galaxy 2.2.1.0 
and the init help doesn't say anything about the feature. How do you create 
an ansible role with that is container enabled as mentioned in the doc? It 
says:

Container Enabled 

If you are creating a Container Enabled role, use the *–container-enabled* 
option. 
This will create the same directory structure as above, but populate it 
with default files appropriate for a Container Enabled role. For instance, 
the README.md has a slightly different structure, the *.travis.yml* file 
tests the role using Ansible Container 
, and the meta directory 
includes a *container.yml* file.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e02fb498-17f5-413b-a90b-612bde780f1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible Galaxy/GitHub Issues

2016-12-05 Thread Greg DeKoenigsberg
>From the ticket, looks like a simple perms issue -- but I would like
to hear if anyone else is experiencing this.

On Mon, Dec 5, 2016 at 11:28 AM, 'Chris Short' via Ansible Project
 wrote:
> I've filed a ticket on this but there does not seem to be a workaround
> (https://github.com/ansible/galaxy-issues/issues/217). I wrote a role that I
> want to deploy to Galaxy but the GitHub integration fails to work every
> time. Has anyone experienced this and is there a fix?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/a87595d7-c024-4d7c-8b75-b80908d675a0%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Greg DeKoenigsberg
Ansible Community Guy

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAM1FbhEN7_LWFVVuaz3QXyywvWgHQPnXRSM62ZqBE%3DtLQvAhQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy/GitHub Issues

2016-12-05 Thread 'Chris Short' via Ansible Project
I've filed a ticket on this but there does not seem to be a workaround 
(https://github.com/ansible/galaxy-issues/issues/217). I wrote a role that 
I want to deploy to Galaxy but the GitHub integration fails to work every 
time. Has anyone experienced this and is there a fix?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a87595d7-c024-4d7c-8b75-b80908d675a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] ansible-galaxy (ansible2.0.0) : backwards uncompatibility (anisble1.9.4)

2016-03-08 Thread Brian Coca
There is already a PR for offline mode, as for ansible-galaxy doing more
than roles, that is a no for the foreseeable future, you can still use
roles to encapsulate, share and use plugins though.

--
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACVha7eRA63Zfoi2iXLN_xwZ_xNtvXauwJ_zWD6LRCSia87G%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] ansible-galaxy (ansible2.0.0) : backwards uncompatibility (anisble1.9.4)

2016-03-08 Thread Nicolas Dupont-Jubien
Thanks for the answer Brian. 

But what about the offline mode, the capability to use ansible-galaxy to 
retrieve modules and plugins and not only roles from different repositories ?

Is there a place to ask for a new feature (add an issue in the Github project) ?

Regards,
Nicolas

> Le 8 mars 2016 à 17:50, Brian Coca  a écrit :
> 
> This was a bug in 1.9, it should have never allowed requirements files to 
> arbitrarily overwrite paths on the users's machine.
> 
> --
> Brian Coca
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Ansible Project" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/ansible-project/w24_hWH5NhA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/CACVha7dwDWaTC3piRiyyrvWXPq%2Brm2r5DWgHD3knMJM_bOHx4w%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/AF455FC3-C58E-47BE-9338-903E4A035686%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] ansible-galaxy (ansible2.0.0) : backwards uncompatibility (anisble1.9.4)

2016-03-08 Thread Brian Coca
This was a bug in 1.9, it should have never allowed requirements files to
arbitrarily overwrite paths on the users's machine.

--
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACVha7dwDWaTC3piRiyyrvWXPq%2Brm2r5DWgHD3knMJM_bOHx4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] ansible-galaxy (ansible2.0.0) : backwards uncompatibility (anisble1.9.4)

2016-03-08 Thread Nicolas Dupont-Jubien
 Summary: 

Before Ansible2, we used *ansible-galaxy* program to assembly our project 
workspace (See above a sample ot requirements.yml file)

ansible-galaxy install -f -r requirements.yml


The directories *path/name* were then created or updated and we were able 
to use *ansible-galaxy* for other items than roles (i.e. *plugins, modules*). 


   - It was working offline (we are behind a firewall) 
   - It was easy to share Ansible code inside our company.
   - It was possible to use different SCM for the code (Gitlab of Dev 
   Teams, Gitlab of Ops Teams...)

Unfortunately, since version 2, *ansible-galaxy* has been entirely 
refactored. 
=> So we overrides this behaviour by replacing *ansible-galaxy.py* 
(Ansible2+) by *ansible-galaxy.py* file from Ansible *1.9.4*

Our questions are, will the galaxy design change to be able : 

   - To deal with other objects than roles (param: path) ? 
   - To deal with different url of Galaxy (Sources from Dev, sources from 
   Ops...) ?
   - To work offline ? 



Ansible Version: 2 

ansible 2.0.0.2
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides


Ansible Configuration: requirements.yml 

#
# Useful  plugins
#

- src: git+https://gitlab/ansible/plugin_exit_on_failure.git
  version: v0.2
  path: callback_plugins
  name: exit_on_failure


- src: git+https://gitlab/ansible/plugin_tail.git
  version: v0.1
  path: filter_plugins
  name: tail

- src: git+http://gitlab/ansible/plugin_keepass.git
  version: v0.2
  path: lookup_plugins
  name: keepass

#
# Modules
#

- src: git+http://gitlab/ansible/module_fs.git
  version: v0.3
  path: library
  name: fs

#--
# Roles
#--

- src: git+https://gitlab2/ansible/role_gate.git
  version: remotes/origin/test
  path: roles
  name: role_gate

- src: git+https://gitlab2/ansible/role_prerequis.git
  path: roles
  name: role_prerequis
 

Environment: 

N/A



Thanks a lot,
Nicolas

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7be810ac-9358-4ee0-a57b-ec8792be371f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy - requirements.yml and a single github repo with multiple roles

2016-03-01 Thread sarlindo
 

In terms of github repos for ansible roles. Does galaxy supports having 
multiple “roles” in ONE github repo?

 

For example, let’s assume I have the following github repo 
https://github.com/sarlindo/ansiblemidddlewarerepo 
 and in this github 
repo I have a bunch of ansible “roles” in separate folders such as “mysql”, 
“nginx” etc…

 

Can galaxy retrieve just the particular role I am interested in from this 
“shared” repo or will it have to download the WHOLE repo with ALL the 
roles? OR must I have EACH role in a separate github repo?

 


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/48b96502-0df1-4bcf-9b74-9a7ef9ae2da1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible-galaxy with http/s proxy

2016-01-18 Thread Bill WANG
Thanks, the way to install via https works for me. 

On Sunday, January 10, 2016 at 6:34:00 PM UTC+11, Александр Костырев wrote:
>
> forgot to mention!
>
> ansible-1.9.4-1.fc23.noarch
>
> cat Ansiblefile.yml
> - src: jtyr.environment
>   path: roles
>
> if Ansiblefile.yml contains
>
> - src: https://github.com/picotrading/ansible-sudo.git
>   name: jtyr.sudo
>   path: roles
>
>
> script succeeds
>
> On Sunday, 10 January 2016 10:15:37 UTC+3, Александр Костырев wrote:
>>
>> I've got the same problem.
>> I've set up cntlm. It listens
>>
>>
>> $ sudo netstat -nlp --inet | grep 3128
>> tcp0  0 127.0.0.1:3128  0.0.0.0:*   
>> LISTEN  13673/cntlm 
>>
>> I've got a bash script that suppose to install all my roles:
>>
>> #!/bin/bash
>>
>> https_proxy="http://127.0.0.1:3128;
>> http_proxy="http://127.0.0.1:3128;
>>
>> cat Ansiblefile_external_roles.yml > Ansiblefile.yml
>> ansible-galaxy install -r Ansiblefile.yml
>>
>>
>> but if fails:
>>
>> bash -x ansible_install_roles.sh
>> + https_proxy=http://127.0.0.1:3128
>> + http_proxy=http://127.0.0.1:3128
>> + cat Ansiblefile_external_roles.yml
>> + ansible-galaxy install -r Ansiblefile.yml --force
>> - the API server (galaxy.ansible.com) is not responding, please try 
>> again later.
>>
>>
>>
>>
>> On Friday, 28 August 2015 19:34:53 UTC+3, Greg DeKoenigsberg wrote:
>>>
>>> If it fails for you again, give us some more specific info and we'll dig 
>>> in. 
>>>
>>> --g 
>>>
>>> On Fri, Aug 28, 2015 at 11:36 AM, Emilio Del Plato  
>>> wrote: 
>>> > when we tried that it did not appear to work. Ill give it another try. 
>>> > 
>>> > Thanks for the reply. 
>>> > ~Emilio 
>>> > 
>>> > On Friday, August 28, 2015 at 10:57:37 AM UTC-4, Greg DeKoenigsberg 
>>> wrote: 
>>> >> 
>>> >> A quote from someone smarter than me: 
>>> >> 
>>> >> "It's using urllib/httplib so setting the http{s}_proxy environment 
>>> >> variable should have it use the proxy." 
>>> >> 
>>> >> (Hint: the person is jimi-c.) 
>>> >> 
>>> >> --g 
>>> >> 
>>> >> On Thu, Aug 27, 2015 at 5:37 PM, Emilio Del Plato  
>>>
>>> >> wrote: 
>>> >> > Apologies if this has been covered somewhere and I missed it. 
>>> >> > 
>>> >> > Is it possible to have ansible-galaxy (CLI) connect using a proxy? 
>>> we 
>>> >> > have 
>>> >> > our primary ansible box walled off and it needs to use a proxy to 
>>> >> > connect to 
>>> >> > the web (galaxy.ansible.com, github.com) 
>>> >> > I have tried using tsocks as well as setting environment variables 
>>> but 
>>> >> > none 
>>> >> > of these options seem to be honored by galaxy cli. 
>>> >> > 
>>> >> > Is anyone aware of anyother method to use ansible-galaxy with a 
>>> proxy? 
>>> >> > 
>>> >> > -- 
>>> >> > You received this message because you are subscribed to the Google 
>>> >> > Groups 
>>> >> > "Ansible Project" group. 
>>> >> > To unsubscribe from this group and stop receiving emails from it, 
>>> send 
>>> >> > an 
>>> >> > email to ansible-proje...@googlegroups.com. 
>>> >> > To post to this group, send email to ansible...@googlegroups.com. 
>>> >> > To view this discussion on the web visit 
>>> >> > 
>>> >> > 
>>> https://groups.google.com/d/msgid/ansible-project/53effa7d-bd7b-4cc4-9eb7-8d2ed12ad839%40googlegroups.com.
>>>  
>>>
>>> >> > For more options, visit https://groups.google.com/d/optout. 
>>> >> 
>>> >> 
>>> >> 
>>> >> -- 
>>> >> Greg DeKoenigsberg 
>>> >> Ansible Community Guy 
>>> >> 
>>> >> Find out why SD Times named Ansible 
>>> >> their #1 Company to Watch in 2015: 
>>> >> http://sdtimes.com/companies-watch-2015/ 
>>> > 
>>> > -- 
>>> > You received this message because you are subscribed to the Google 
>>> Groups 
>>> > "Ansible Project" group. 
>>> > To unsubscribe from this group and stop receiving emails from it, send 
>>> an 
>>> > email to ansible-proje...@googlegroups.com. 
>>> > To post to this group, send email to ansible...@googlegroups.com. 
>>> > To view this discussion on the web visit 
>>> > 
>>> https://groups.google.com/d/msgid/ansible-project/88c45261-ac74-4283-a65d-26f64389c802%40googlegroups.com.
>>>  
>>>
>>> > 
>>> > For more options, visit https://groups.google.com/d/optout. 
>>>
>>>
>>>
>>> -- 
>>> Greg DeKoenigsberg 
>>> Ansible Community Guy 
>>>
>>> Find out why SD Times named Ansible 
>>> their #1 Company to Watch in 2015: 
>>> http://sdtimes.com/companies-watch-2015/ 
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7bef387c-733a-4686-8513-da0766399935%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible-galaxy with http/s proxy

2016-01-11 Thread Chris Houseknecht
Submitted PR https://github.com/ansible/ansible/pull/13808 to add 
--ignore-certs option to init, install and info commands in ansible-galaxy 
1.9.4.

--Chris

On Monday, January 11, 2016 at 4:40:03 PM UTC-5, Chris Houseknecht wrote:
>
> This works in ansible 2.0. It requires using the --ignore-certs flag. 
>
> I simulated a proxy server using Charles Proxy. In the Charles proxy 
> settings I enabled SSL Proxying for galaxy.ansible.com:443. Then I did 
> the following:
>
> $ export https_proxy=http://localhost:
> $ ansible-galaxy --ignore-certs init my-role-foo
> - my-role-foo was created successfully
>
> From the above I can see the request route through Charles and return a 
> valid response from the API. Without --ignore-certs the init command fails. 
> I think the issue is that the proxy is not forwarding the root certificate 
> from galaxy.ansible.com down to the client.
>
> Prior to 2.0 the --ignore-certs flag is not available on the init command. 
> I'm looking into the code now and will submit a PR to add it.
>
>
> --Chris
>
>
>
> On Monday, January 11, 2016 at 11:00:57 AM UTC-5, Jameson Pugh wrote:
>>
>> On Sunday, January 10, 2016 at 2:15:37 AM UTC-5, Александр Костырев wrote:
>>>
>>> I've got the same problem.
>>>
>>
>> I'm also running into this issue. I have http_proxy and https_proxy 
>> variables pointing to our proxy server, and I'm able to wget and curl from 
>> galaxy.ansible.com, but if I run ansible-galaxy init, I get "- the API 
>> server (galaxy.ansible.com) is not responding, please try again later." 
>> Is the only way I'll be able to use it at this point manually downloading? 
>> Thanks.
>>
>> =-Jameson
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/efa23761-d04a-45a8-96c9-c7b65070b988%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible-galaxy with http/s proxy

2016-01-11 Thread Chris Houseknecht
This works in ansible 2.0. It requires using the --ignore-certs flag. 

I simulated a proxy server using Charles Proxy. In the Charles proxy 
settings I enabled SSL Proxying for galaxy.ansible.com:443. Then I did the 
following:

$ export https_proxy=http://localhost:
$ ansible-galaxy --ignore-certs init my-role-foo
- my-role-foo was created successfully

>From the above I can see the request route through Charles and return a 
valid response from the API. Without --ignore-certs the init command fails. 
I think the issue is that the proxy is not forwarding the root certificate 
from galaxy.ansible.com down to the client.

Prior to 2.0 the --ignore-certs flag is not available on the init command. 
I'm looking into the code now and will submit a PR to add it.


--Chris



On Monday, January 11, 2016 at 11:00:57 AM UTC-5, Jameson Pugh wrote:
>
> On Sunday, January 10, 2016 at 2:15:37 AM UTC-5, Александр Костырев wrote:
>>
>> I've got the same problem.
>>
>
> I'm also running into this issue. I have http_proxy and https_proxy 
> variables pointing to our proxy server, and I'm able to wget and curl from 
> galaxy.ansible.com, but if I run ansible-galaxy init, I get "- the API 
> server (galaxy.ansible.com) is not responding, please try again later." 
> Is the only way I'll be able to use it at this point manually downloading? 
> Thanks.
>
> =-Jameson
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/83f25b9d-3d12-41d8-979d-8b6ead25e0be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible-galaxy with http/s proxy

2016-01-11 Thread Jameson Pugh
On Sunday, January 10, 2016 at 2:15:37 AM UTC-5, Александр Костырев wrote:
>
> I've got the same problem.
>

I'm also running into this issue. I have http_proxy and https_proxy 
variables pointing to our proxy server, and I'm able to wget and curl from 
galaxy.ansible.com, but if I run ansible-galaxy init, I get "- the API 
server (galaxy.ansible.com) is not responding, please try again later." Is 
the only way I'll be able to use it at this point manually downloading? 
Thanks.

=-Jameson

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1c99677f-150f-4559-a21b-5234f1a5450f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible-galaxy with http/s proxy

2016-01-09 Thread Александр Костырев
forgot to mention!

ansible-1.9.4-1.fc23.noarch

cat Ansiblefile.yml
- src: jtyr.environment
  path: roles

if Ansiblefile.yml contains

- src: https://github.com/picotrading/ansible-sudo.git
  name: jtyr.sudo
  path: roles


script succeeds

On Sunday, 10 January 2016 10:15:37 UTC+3, Александр Костырев wrote:
>
> I've got the same problem.
> I've set up cntlm. It listens
>
>
> $ sudo netstat -nlp --inet | grep 3128
> tcp0  0 127.0.0.1:3128  0.0.0.0:*   
> LISTEN  13673/cntlm 
>
> I've got a bash script that suppose to install all my roles:
>
> #!/bin/bash
>
> https_proxy="http://127.0.0.1:3128;
> http_proxy="http://127.0.0.1:3128;
>
> cat Ansiblefile_external_roles.yml > Ansiblefile.yml
> ansible-galaxy install -r Ansiblefile.yml
>
>
> but if fails:
>
> bash -x ansible_install_roles.sh
> + https_proxy=http://127.0.0.1:3128
> + http_proxy=http://127.0.0.1:3128
> + cat Ansiblefile_external_roles.yml
> + ansible-galaxy install -r Ansiblefile.yml --force
> - the API server (galaxy.ansible.com) is not responding, please try again 
> later.
>
>
>
>
> On Friday, 28 August 2015 19:34:53 UTC+3, Greg DeKoenigsberg wrote:
>>
>> If it fails for you again, give us some more specific info and we'll dig 
>> in. 
>>
>> --g 
>>
>> On Fri, Aug 28, 2015 at 11:36 AM, Emilio Del Plato  
>> wrote: 
>> > when we tried that it did not appear to work. Ill give it another try. 
>> > 
>> > Thanks for the reply. 
>> > ~Emilio 
>> > 
>> > On Friday, August 28, 2015 at 10:57:37 AM UTC-4, Greg DeKoenigsberg 
>> wrote: 
>> >> 
>> >> A quote from someone smarter than me: 
>> >> 
>> >> "It's using urllib/httplib so setting the http{s}_proxy environment 
>> >> variable should have it use the proxy." 
>> >> 
>> >> (Hint: the person is jimi-c.) 
>> >> 
>> >> --g 
>> >> 
>> >> On Thu, Aug 27, 2015 at 5:37 PM, Emilio Del Plato  
>>
>> >> wrote: 
>> >> > Apologies if this has been covered somewhere and I missed it. 
>> >> > 
>> >> > Is it possible to have ansible-galaxy (CLI) connect using a proxy? 
>> we 
>> >> > have 
>> >> > our primary ansible box walled off and it needs to use a proxy to 
>> >> > connect to 
>> >> > the web (galaxy.ansible.com, github.com) 
>> >> > I have tried using tsocks as well as setting environment variables 
>> but 
>> >> > none 
>> >> > of these options seem to be honored by galaxy cli. 
>> >> > 
>> >> > Is anyone aware of anyother method to use ansible-galaxy with a 
>> proxy? 
>> >> > 
>> >> > -- 
>> >> > You received this message because you are subscribed to the Google 
>> >> > Groups 
>> >> > "Ansible Project" group. 
>> >> > To unsubscribe from this group and stop receiving emails from it, 
>> send 
>> >> > an 
>> >> > email to ansible-proje...@googlegroups.com. 
>> >> > To post to this group, send email to ansible...@googlegroups.com. 
>> >> > To view this discussion on the web visit 
>> >> > 
>> >> > 
>> https://groups.google.com/d/msgid/ansible-project/53effa7d-bd7b-4cc4-9eb7-8d2ed12ad839%40googlegroups.com.
>>  
>>
>> >> > For more options, visit https://groups.google.com/d/optout. 
>> >> 
>> >> 
>> >> 
>> >> -- 
>> >> Greg DeKoenigsberg 
>> >> Ansible Community Guy 
>> >> 
>> >> Find out why SD Times named Ansible 
>> >> their #1 Company to Watch in 2015: 
>> >> http://sdtimes.com/companies-watch-2015/ 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups 
>> > "Ansible Project" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an 
>> > email to ansible-proje...@googlegroups.com. 
>> > To post to this group, send email to ansible...@googlegroups.com. 
>> > To view this discussion on the web visit 
>> > 
>> https://groups.google.com/d/msgid/ansible-project/88c45261-ac74-4283-a65d-26f64389c802%40googlegroups.com.
>>  
>>
>> > 
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>>
>>
>> -- 
>> Greg DeKoenigsberg 
>> Ansible Community Guy 
>>
>> Find out why SD Times named Ansible 
>> their #1 Company to Watch in 2015: 
>> http://sdtimes.com/companies-watch-2015/ 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/dd7728de-777d-4b36-b6b0-cee65aa016cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible-galaxy with http/s proxy

2016-01-09 Thread Александр Костырев
I've got the same problem.
I've set up cntlm. It listens


$ sudo netstat -nlp --inet | grep 3128
tcp0  0 127.0.0.1:3128  0.0.0.0:*   LISTEN 
 13673/cntlm 

I've got a bash script that suppose to install all my roles:

#!/bin/bash

https_proxy="http://127.0.0.1:3128;
http_proxy="http://127.0.0.1:3128;

cat Ansiblefile_external_roles.yml > Ansiblefile.yml
ansible-galaxy install -r Ansiblefile.yml


but if fails:

bash -x ansible_install_roles.sh
+ https_proxy=http://127.0.0.1:3128
+ http_proxy=http://127.0.0.1:3128
+ cat Ansiblefile_external_roles.yml
+ ansible-galaxy install -r Ansiblefile.yml --force
- the API server (galaxy.ansible.com) is not responding, please try again 
later.




On Friday, 28 August 2015 19:34:53 UTC+3, Greg DeKoenigsberg wrote:
>
> If it fails for you again, give us some more specific info and we'll dig 
> in. 
>
> --g 
>
> On Fri, Aug 28, 2015 at 11:36 AM, Emilio Del Plato  > wrote: 
> > when we tried that it did not appear to work. Ill give it another try. 
> > 
> > Thanks for the reply. 
> > ~Emilio 
> > 
> > On Friday, August 28, 2015 at 10:57:37 AM UTC-4, Greg DeKoenigsberg 
> wrote: 
> >> 
> >> A quote from someone smarter than me: 
> >> 
> >> "It's using urllib/httplib so setting the http{s}_proxy environment 
> >> variable should have it use the proxy." 
> >> 
> >> (Hint: the person is jimi-c.) 
> >> 
> >> --g 
> >> 
> >> On Thu, Aug 27, 2015 at 5:37 PM, Emilio Del Plato  
> >> wrote: 
> >> > Apologies if this has been covered somewhere and I missed it. 
> >> > 
> >> > Is it possible to have ansible-galaxy (CLI) connect using a proxy? we 
> >> > have 
> >> > our primary ansible box walled off and it needs to use a proxy to 
> >> > connect to 
> >> > the web (galaxy.ansible.com, github.com) 
> >> > I have tried using tsocks as well as setting environment variables 
> but 
> >> > none 
> >> > of these options seem to be honored by galaxy cli. 
> >> > 
> >> > Is anyone aware of anyother method to use ansible-galaxy with a 
> proxy? 
> >> > 
> >> > -- 
> >> > You received this message because you are subscribed to the Google 
> >> > Groups 
> >> > "Ansible Project" group. 
> >> > To unsubscribe from this group and stop receiving emails from it, 
> send 
> >> > an 
> >> > email to ansible-proje...@googlegroups.com. 
> >> > To post to this group, send email to ansible...@googlegroups.com. 
> >> > To view this discussion on the web visit 
> >> > 
> >> > 
> https://groups.google.com/d/msgid/ansible-project/53effa7d-bd7b-4cc4-9eb7-8d2ed12ad839%40googlegroups.com.
>  
>
> >> > For more options, visit https://groups.google.com/d/optout. 
> >> 
> >> 
> >> 
> >> -- 
> >> Greg DeKoenigsberg 
> >> Ansible Community Guy 
> >> 
> >> Find out why SD Times named Ansible 
> >> their #1 Company to Watch in 2015: 
> >> http://sdtimes.com/companies-watch-2015/ 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Ansible Project" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to ansible-proje...@googlegroups.com . 
> > To post to this group, send email to ansible...@googlegroups.com 
> . 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/ansible-project/88c45261-ac74-4283-a65d-26f64389c802%40googlegroups.com.
>  
>
> > 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> Greg DeKoenigsberg 
> Ansible Community Guy 
>
> Find out why SD Times named Ansible 
> their #1 Company to Watch in 2015: 
> http://sdtimes.com/companies-watch-2015/ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3b2b411e-942b-4e56-8f1a-2996fefaf24c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] ansible-galaxy github-token calling non-existant API endpoint

2015-12-17 Thread Bryan Hunt
 Hi there, it seems an API endpoint may have vanished.
>From - http://docs.ansible.com/ansible/galaxy.html

Authenticate with Galaxy 


"If you do not wish to use your GitHub password, or if you have two-factor 
authentication enabled with GitHub, use the –github-token 
option to pass a personal access token that you create. Log into GitHub, go to 
Settings and click on Personal Access Token to create a token"

The command line was throwing an exception about inability to JSON decode the 
response - so I inserted a breakpoint into lib/ansible/galaxy/api.py

>From there, I discovered the URL and POST parameters being used. I then tried 
>calling from the command line using CURL.

(I've stripped private info from the token)

[~%]curl -XPOST "https://galaxy.ansible.com/api/v1/tokens; --data 
"github_token=Xa934c175De9d" | head
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100  59340  5881  10053   6447 58 --:--:-- --:--:-- --:--:--  6448



http://www.w3.org/1999/xhtml; xml:lang="en" lang="en-us">






It seems like the API endpoint is down or not mapped correctly or.. suggestions 
please?

I'm using Ansible from git, tried with versions devel and stable-2.0.

Any ideas? 

Bryan





-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/fa4d2c9e-3154-41de-8c32-78ccef079043%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] ansible galaxy question

2015-12-02 Thread Serge S
hi,

I'm wondering is it a good way share a complete playbook using the ansible 
galaxy. 

and yes, I've read documentation:" Instead of creating giant playbooks with 
hundreds of tasks we can use roles to organise tasks,  "

however, the role approach is not suitable for complex cluster applications 
when services(roles) depend on each other and in the turn depends on hosts.
also, as I understand, ansible galaxy is not supposed to deliver the ready 
to use solution - it just provides recipes and  makes a user to _create_a 
playbook( cut and paste)  
according to the provided by the role documentation - so it's not  even 
supposes to deliver a ready to use playbook/template configuration file - 
am I wrong ?

what I think:
well, consider a regular book you are eventually reading. if you apply the 
ansible galaxy approach to the human reading books, than the book store 
should look like a swedish table where you can pick chapters like  'crime', 
'love','nature','programming in 24 hours', 'happy end', etc - and compose 
your own book.

so the another question:
do I understand the ansible-galaxy correctly or did I miss any thing ?

the questions are not abstract - I have the playbook - 
https://github.com/sergevs/ansible-cloudera-hadoop 
which is tested, documented, doing that it states and I hope is really easy 
to use for the end user.
I do think that If I would try to broke it to ansible galaxy roles it will 
ruin the work and make it unusable for the end user with unpredictable 
final result.

I really would appreciate ansible galaxy experts advices.

thanks,
Serge.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/fcdbcaa5-7202-4ca5-8c4e-dd42bd8c145e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible galaxy repo import

2015-11-30 Thread Adithya Khamithkar
Hi,

My role seems to be taking a very long time to import from github to 
galaxy. I have the right syntax in the meta file. Can someone please let me 
know what could be the reason for it taking such a long time to import?

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1b51b257-8aee-45bc-9df9-91340576ee33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy CLI is not parsing the requirements YAML file correctly

2015-11-25 Thread Yashodhan Talwar


Hi,

I'm trying to solve a problem I'm having with the Ansible Galaxy CLI tool. 
It seems that the YAML file is being incorrectly parsed as a "basic" file, 
instead of YAML. Using Ansible 1.9x, I get the following error trying to 
install roles:


ansible-galaxy install -r requirements.yml


requirements.yml

---
- src: angstwad.docker_ubuntu


Error

downloading role '---', owned by 
Sorry, --- was not found on galaxy.ansible.com.
downloading role 'docker_ubuntu', owned by -%20src%3A%20angstwad
Sorry, - src: angstwad.docker_ubuntu was not found on galaxy.ansible.com.


Any reason why this would happen? I'd be grateful if you could help me 
solve this. Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ba6ade33-2076-40d9-b09e-9384b57da8cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] ansible-galaxy init and metadata values

2015-10-16 Thread Brian Coca
We don't have this functionality yet, but I think its a good idea. The
metadata is now an external template so it is easy to add.

Also, you are not alone, there are other Perl guys here.


-- 
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAJ5XC8kc5TMTVU7%3D%2BuwO5H%3DPT%2Bbm1bBzUTL_jSjYNCahyeo0cg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] ansible-galaxy init and metadata values

2015-10-16 Thread Dylan Martin
Hi everyone.  I expected this functionality to exist, but I can't find it 
so either it does exist and someone can gently point me toward the document 
I missed or it doesn't exist and we might want to talk about weather it 
should exist.

I expected I could write a file like ~/.ansible/galaxy-defaults.yaml that 
would look like this:

---
author: me
company: me.com
license: my license
... etc ...

and then when I run ansible-galaxy init somenewrole, my 
somenewrole/meta/main.yaml and my somenewrole/README.md files would have 
that info already templated in.

Does that make sense?  I'm a perl guy (ducks head, waits for laughter to 
subside) and I'm used to using Module::Starter where you can put values in 
~/.module-starter/config and those values get templated into new modules.

If I'm still not making sense, here's Module::Starter 


Thanks!  Sorry if I missed something in the docs that should have shown me 
how to do this!

-Dylan

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/09347c87-b995-4dd4-a04d-a4c71a7ceb9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] ansible-galaxy - replacing Categories with Tags

2015-09-21 Thread Chris Houseknecht
In our next release of Galaxy (hopefully later this week) we will deprecate 
Categories in favor of Tags.  Role authors can add tags or keywords that 
best describe and categorize their role. Users of Galaxy will be able to 
search by tags. 

Submitted PR 12456  to 
modify ansible-galaxy cli to reflect this change.  It modifies the metadata 
template by removing categories and adding an empty tags array with 
instructions.  And for the search command it replaces the --categories 
option with a --tags option.

The PR also adds --ignore-certs option to the install and search commands. 
This works nicely when --server is used to point to a host with a self 
signed cert. 


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/67ec4d2e-573a-4321-aef3-561f64e39b97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible Galaxy username syncing with Github

2015-09-17 Thread Karl Fischer

>
>
> https://github.com/ansible/galaxy-issues 
>
>
Done, https://github.com/ansible/galaxy-issues/issues/72

Karl 

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d9209ab0-af1c-4d7b-a061-914973b1ed56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible Galaxy username syncing with Github

2015-09-15 Thread Greg DeKoenigsberg
On Tue, Sep 15, 2015 at 4:58 AM, Karl Fischer  wrote:
> Hi
>
> Will usernames be synced from Github to Galaxy, when the switch happens in
> January,
> reason I'm asking is that my github username is 3 characters and it seems
> that Galaxy only supports 4 characters and up.

Something we'll be working on. No answer as yet. Best thing to do is
to file an issue to be sure:

https://github.com/ansible/galaxy-issues

(I don't think I've seen this one, so please be sure to file it.)

--g

> Karl
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/893583e4-1850-459c-9355-32435040300a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Greg DeKoenigsberg
Ansible Community Guy

Find out why SD Times named Ansible
their #1 Company to Watch in 2015:
http://sdtimes.com/companies-watch-2015/

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAM1FbhGk_nrmWASWnjSxvGbL9qjjtsPDH9MtW%3DHfETj%3Dc8ZvKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible Galaxy username syncing with Github

2015-09-15 Thread James Cammarata
Hi Karl, we can adjust that to match what Github allows, thanks for
pointing it out!

As for the linkage, you'll have to add the Github social linkage yourself,
which you can do from your profile page on Galaxy.

Thanks!

James Cammarata
Director, Ansible Core Engineering
github: jimi-c

On Tue, Sep 15, 2015 at 4:58 AM, Karl Fischer  wrote:

> Hi
>
> Will usernames be synced from Github to Galaxy, when the switch happens in
> January,
> reason I'm asking is that my github username is 3 characters and it seems
> that Galaxy only supports 4 characters and up.
>
> Karl
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/893583e4-1850-459c-9355-32435040300a%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAMFyvFjd8JCP0vZF-JdWmgm5rSjLi1tPbL14Efn1RF7bHZjr-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy username syncing with Github

2015-09-15 Thread Karl Fischer
Hi

Will usernames be synced from Github to Galaxy, when the switch happens in 
January,
reason I'm asking is that my github username is 3 characters and it seems 
that Galaxy only supports 4 characters and up.

Karl

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/893583e4-1850-459c-9355-32435040300a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible galaxy syan READM.md is not present when importing/updating role

2015-09-13 Thread Davide Guerri
Same problem here!

Davide

On Thursday, 10 September 2015 14:41:34 UTC+1, Andrzej Ośmiałowski wrote:
>
> Sorry for bumping old thread, but any progress on this issue? Just faced 
> it today with my surname.
>
> On Wednesday, September 2, 2015 at 4:14:37 PM UTC+2, James Cammarata wrote:
>>
>> Hi Mauricio, we actually just ran into this with another user this 
>> morning. It appears that the code we have to read in the README.md files 
>> does not like Unicode, so the workaround currently is to remove non-ascii 
>> characters from it. We'll have a fix in for this in the next release. Sorry 
>> for the inconvenience!
>>
>> James Cammarata
>> Director, Ansible Core Engineering
>> github: jimi-c
>>
>> On Tue, Sep 1, 2015 at 4:53 PM, Mauricio Sánchez  
>> wrote:
>>
>>> I'm trying to import/update my roles hosted on Github but Ansible Galaxy 
>>> says:
>>>
>>> FAILED:
>>> Failed to find a README.md. All role repositories must include a 
>>> README.md. Please refer to the 'Getting Started' documentation regarding 
>>> role requirements. Once the issue has been corrected in the repsotitory, 
>>> you can retry the import.
>>>
>>> See this role in Github: https://github.com/Aplyca/ansible-role-php
>>>
>>> All of my roles were working fine (updating and importing) a couple of 
>>> weeks ago in Ansible Galaxy. The README.md is present in the root of the 
>>> repo of all my roles.  Is this an issue on Galaxy? or do I missing 
>>> something?, maybe the README.md markdown format or the location of the file?
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Ansible Project" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to ansible-proje...@googlegroups.com.
>>> To post to this group, send email to ansible...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/ansible-project/f87ece14-c54a-4852-a0e9-996e269ae273%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/429aac19-69ad-4d1b-b7de-890f7b778d14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible galaxy syan READM.md is not present when importing/updating role

2015-09-10 Thread Andrzej Ośmiałowski
Sorry for bumping old thread, but any progress on this issue? Just faced it 
today with my surname.

On Wednesday, September 2, 2015 at 4:14:37 PM UTC+2, James Cammarata wrote:
>
> Hi Mauricio, we actually just ran into this with another user this 
> morning. It appears that the code we have to read in the README.md files 
> does not like Unicode, so the workaround currently is to remove non-ascii 
> characters from it. We'll have a fix in for this in the next release. Sorry 
> for the inconvenience!
>
> James Cammarata
> Director, Ansible Core Engineering
> github: jimi-c
>
> On Tue, Sep 1, 2015 at 4:53 PM, Mauricio Sánchez  > wrote:
>
>> I'm trying to import/update my roles hosted on Github but Ansible Galaxy 
>> says:
>>
>> FAILED:
>> Failed to find a README.md. All role repositories must include a 
>> README.md. Please refer to the 'Getting Started' documentation regarding 
>> role requirements. Once the issue has been corrected in the repsotitory, 
>> you can retry the import.
>>
>> See this role in Github: https://github.com/Aplyca/ansible-role-php
>>
>> All of my roles were working fine (updating and importing) a couple of 
>> weeks ago in Ansible Galaxy. The README.md is present in the root of the 
>> repo of all my roles.  Is this an issue on Galaxy? or do I missing 
>> something?, maybe the README.md markdown format or the location of the file?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to ansible-proje...@googlegroups.com .
>> To post to this group, send email to ansible...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/f87ece14-c54a-4852-a0e9-996e269ae273%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d7fbdc94-36c2-4d47-b526-5cfe4eb4b599%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible galaxy syan READM.md is not present when importing/updating role

2015-09-02 Thread Mauricio Sánchez
I'm trying to import/update my roles hosted on Github but Ansible Galaxy 
says:

FAILED:
Failed to find a README.md. All role repositories must include a README.md. 
Please refer to the 'Getting Started' documentation regarding role 
requirements. Once the issue has been corrected in the repsotitory, you can 
retry the import.

See this role in Github: https://github.com/Aplyca/ansible-role-php

All of my roles were working fine (updating and importing) a couple of 
weeks ago in Ansible Galaxy. The README.md is present in the root of the 
repo of all my roles.  Is this an issue on Galaxy? or do I missing 
something?, maybe the README.md markdown format or the location of the file?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f87ece14-c54a-4852-a0e9-996e269ae273%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible galaxy syan READM.md is not present when importing/updating role

2015-09-02 Thread Greg DeKoenigsberg
We'll look into it.
On Sep 2, 2015 8:24 AM, "Mauricio Sánchez"  wrote:

> I'm trying to import/update my roles hosted on Github but Ansible Galaxy
> says:
>
> FAILED:
> Failed to find a README.md. All role repositories must include a
> README.md. Please refer to the 'Getting Started' documentation regarding
> role requirements. Once the issue has been corrected in the repsotitory,
> you can retry the import.
>
> See this role in Github: https://github.com/Aplyca/ansible-role-php
>
> All of my roles were working fine (updating and importing) a couple of
> weeks ago in Ansible Galaxy. The README.md is present in the root of the
> repo of all my roles.  Is this an issue on Galaxy? or do I missing
> something?, maybe the README.md markdown format or the location of the file?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/f87ece14-c54a-4852-a0e9-996e269ae273%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAM1FbhEVar-jy3KnHxctdiczJyHN5U9NEBJDr%3DwJOa%3DCQt0O4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible galaxy syan READM.md is not present when importing/updating role

2015-09-02 Thread James Cammarata
Hi Mauricio, we actually just ran into this with another user this morning.
It appears that the code we have to read in the README.md files does not
like Unicode, so the workaround currently is to remove non-ascii characters
from it. We'll have a fix in for this in the next release. Sorry for the
inconvenience!

James Cammarata
Director, Ansible Core Engineering
github: jimi-c

On Tue, Sep 1, 2015 at 4:53 PM, Mauricio Sánchez 
wrote:

> I'm trying to import/update my roles hosted on Github but Ansible Galaxy
> says:
>
> FAILED:
> Failed to find a README.md. All role repositories must include a
> README.md. Please refer to the 'Getting Started' documentation regarding
> role requirements. Once the issue has been corrected in the repsotitory,
> you can retry the import.
>
> See this role in Github: https://github.com/Aplyca/ansible-role-php
>
> All of my roles were working fine (updating and importing) a couple of
> weeks ago in Ansible Galaxy. The README.md is present in the root of the
> repo of all my roles.  Is this an issue on Galaxy? or do I missing
> something?, maybe the README.md markdown format or the location of the file?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/f87ece14-c54a-4852-a0e9-996e269ae273%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAMFyvFgMwctT47Kg9nGT%2B5L2uWtgd9wr8%2B%2BuU6gvbrxO2jF_LQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible-galaxy with http/s proxy

2015-08-28 Thread Emilio Del Plato
when we tried that it did not appear to work. Ill give it another try.

Thanks for the reply.
~Emilio

On Friday, August 28, 2015 at 10:57:37 AM UTC-4, Greg DeKoenigsberg wrote:

 A quote from someone smarter than me: 

 It's using urllib/httplib so setting the http{s}_proxy environment 
 variable should have it use the proxy. 

 (Hint: the person is jimi-c.) 

 --g 

 On Thu, Aug 27, 2015 at 5:37 PM, Emilio Del Plato emi...@emiliod.com 
 javascript: wrote: 
  Apologies if this has been covered somewhere and I missed it. 
  
  Is it possible to have ansible-galaxy (CLI) connect using a proxy? we 
 have 
  our primary ansible box walled off and it needs to use a proxy to 
 connect to 
  the web (galaxy.ansible.com, github.com) 
  I have tried using tsocks as well as setting environment variables but 
 none 
  of these options seem to be honored by galaxy cli. 
  
  Is anyone aware of anyother method to use ansible-galaxy with a proxy? 
  
  -- 
  You received this message because you are subscribed to the Google 
 Groups 
  Ansible Project group. 
  To unsubscribe from this group and stop receiving emails from it, send 
 an 
  email to ansible-proje...@googlegroups.com javascript:. 
  To post to this group, send email to ansible...@googlegroups.com 
 javascript:. 
  To view this discussion on the web visit 
  
 https://groups.google.com/d/msgid/ansible-project/53effa7d-bd7b-4cc4-9eb7-8d2ed12ad839%40googlegroups.com.
  

  For more options, visit https://groups.google.com/d/optout. 



 -- 
 Greg DeKoenigsberg 
 Ansible Community Guy 

 Find out why SD Times named Ansible 
 their #1 Company to Watch in 2015: 
 http://sdtimes.com/companies-watch-2015/ 


-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/88c45261-ac74-4283-a65d-26f64389c802%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible-galaxy with http/s proxy

2015-08-28 Thread Greg DeKoenigsberg
A quote from someone smarter than me:

It's using urllib/httplib so setting the http{s}_proxy environment
variable should have it use the proxy.

(Hint: the person is jimi-c.)

--g

On Thu, Aug 27, 2015 at 5:37 PM, Emilio Del Plato emi...@emiliod.com wrote:
 Apologies if this has been covered somewhere and I missed it.

 Is it possible to have ansible-galaxy (CLI) connect using a proxy? we have
 our primary ansible box walled off and it needs to use a proxy to connect to
 the web (galaxy.ansible.com, github.com)
 I have tried using tsocks as well as setting environment variables but none
 of these options seem to be honored by galaxy cli.

 Is anyone aware of anyother method to use ansible-galaxy with a proxy?

 --
 You received this message because you are subscribed to the Google Groups
 Ansible Project group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to ansible-project+unsubscr...@googlegroups.com.
 To post to this group, send email to ansible-project@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/ansible-project/53effa7d-bd7b-4cc4-9eb7-8d2ed12ad839%40googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



-- 
Greg DeKoenigsberg
Ansible Community Guy

Find out why SD Times named Ansible
their #1 Company to Watch in 2015:
http://sdtimes.com/companies-watch-2015/

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAM1FbhE7njvT3qYBLRaC8cn57Z-1ZpeBXVYEB5TVHuzs-Xto2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible-galaxy with http/s proxy

2015-08-28 Thread Greg DeKoenigsberg
If it fails for you again, give us some more specific info and we'll dig in.

--g

On Fri, Aug 28, 2015 at 11:36 AM, Emilio Del Plato emi...@emiliod.com wrote:
 when we tried that it did not appear to work. Ill give it another try.

 Thanks for the reply.
 ~Emilio

 On Friday, August 28, 2015 at 10:57:37 AM UTC-4, Greg DeKoenigsberg wrote:

 A quote from someone smarter than me:

 It's using urllib/httplib so setting the http{s}_proxy environment
 variable should have it use the proxy.

 (Hint: the person is jimi-c.)

 --g

 On Thu, Aug 27, 2015 at 5:37 PM, Emilio Del Plato emi...@emiliod.com
 wrote:
  Apologies if this has been covered somewhere and I missed it.
 
  Is it possible to have ansible-galaxy (CLI) connect using a proxy? we
  have
  our primary ansible box walled off and it needs to use a proxy to
  connect to
  the web (galaxy.ansible.com, github.com)
  I have tried using tsocks as well as setting environment variables but
  none
  of these options seem to be honored by galaxy cli.
 
  Is anyone aware of anyother method to use ansible-galaxy with a proxy?
 
  --
  You received this message because you are subscribed to the Google
  Groups
  Ansible Project group.
  To unsubscribe from this group and stop receiving emails from it, send
  an
  email to ansible-proje...@googlegroups.com.
  To post to this group, send email to ansible...@googlegroups.com.
  To view this discussion on the web visit
 
  https://groups.google.com/d/msgid/ansible-project/53effa7d-bd7b-4cc4-9eb7-8d2ed12ad839%40googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.



 --
 Greg DeKoenigsberg
 Ansible Community Guy

 Find out why SD Times named Ansible
 their #1 Company to Watch in 2015:
 http://sdtimes.com/companies-watch-2015/

 --
 You received this message because you are subscribed to the Google Groups
 Ansible Project group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to ansible-project+unsubscr...@googlegroups.com.
 To post to this group, send email to ansible-project@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/ansible-project/88c45261-ac74-4283-a65d-26f64389c802%40googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.



-- 
Greg DeKoenigsberg
Ansible Community Guy

Find out why SD Times named Ansible
their #1 Company to Watch in 2015:
http://sdtimes.com/companies-watch-2015/

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAM1FbhGhuXG5%3DkHXptSSHuEoE5VguJfhb%2BQ96poA3Tq7y9TKzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy account issues

2015-08-27 Thread Hristo Stoyanov
I think the idea to link up Galaxy account to Github as the only auth 
service is wrong. *This is why neither Github not Docker hub do it*. 

Here is why:
I created an account in Github, used that account to log into Galaxy and 
add my roles. Then deleted my account in GitHub (but still use the 
repositories there and organization under different github account). Now i 
can no longer log into my old Galaxy account and the roles I added are 
unmanageable and basically junk. Another problem is that I am forced to use 
the same username as my Github username, if I choose to open a new Galaxy 
account.

Any ideas how can I recover my Galaxy account?

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/09c5249c-bb75-4342-b096-4062fb0b3738%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible Galaxy account issues

2015-08-27 Thread James Cammarata
And if for some reason you can't login since it was removed (and you had no
other associated accounts), just send the details to supp...@ansible.com
and we can get things sorted out.

James Cammarata
Director, Ansible Core Engineering
github: jimi-c

On Thu, Aug 27, 2015 at 2:39 PM, Greg DeKoenigsberg g...@ansible.com
wrote:

 On Thu, Aug 27, 2015 at 2:26 PM, Hristo Stoyanov hr.stoya...@gmail.com
 wrote:
  I think the idea to link up Galaxy account to Github as the only auth
  service is wrong. This is why neither Github not Docker hub do it.

 Certainly willing to discuss it. :)

  Here is why:
  I created an account in Github, used that account to log into Galaxy and
 add
  my roles. Then deleted my account in GitHub (but still use the
 repositories
  there and organization under different github account).

 OK, I'm confused. From Github:

 Deleting your user account removes all repositories, forks of private
 repositories, wikis, issues, pull requests, and pages.

 So if you delete your account, how are you still using your
 repositories?  I'm guessing that you forked them elsewhere, and are
 now working with forks of a since-deleted project. Which is how it
 should work in Galaxy as well, right?

  Now i can no longer log into my old Galaxy account and the roles I added
 are unmanageable and basically junk.

 If you really delete the Github account, the roles you added from that
 account would have been broken anyway because Galaxy pulls them from
 the originally associated Github repo, which would no longer be there.
 This is precisely the kind of scenario we're trying to detect and
 mitigate.

  Another problem is that I am forced to use the same username
  as my Github username, if I choose to open a new Galaxy account.

 Is there a reason you object to that?

  Any ideas how can I recover my Galaxy account?

 You should still be able to login to your old Galaxy account and use
 it until the switchover happens.  We're waiting until January to (a)
 make sure it's the right thing (I think it still is) and (b) give
 plenty of time to identify and work out corner cases.

 --g

  --
  You received this message because you are subscribed to the Google Groups
  Ansible Project group.
  To unsubscribe from this group and stop receiving emails from it, send an
  email to ansible-project+unsubscr...@googlegroups.com.
  To post to this group, send email to ansible-project@googlegroups.com.
  To view this discussion on the web visit
 
 https://groups.google.com/d/msgid/ansible-project/09c5249c-bb75-4342-b096-4062fb0b3738%40googlegroups.com
 .
  For more options, visit https://groups.google.com/d/optout.



 --
 Greg DeKoenigsberg
 Ansible Community Guy

 Find out why SD Times named Ansible
 their #1 Company to Watch in 2015:
 http://sdtimes.com/companies-watch-2015/

 --
 You received this message because you are subscribed to the Google Groups
 Ansible Project group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to ansible-project+unsubscr...@googlegroups.com.
 To post to this group, send email to ansible-project@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/ansible-project/CAM1FbhH9L6PyEWfdm0S72XPu1NDGkzmJbBHHR3bNSWF5t85aGQ%40mail.gmail.com
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAMFyvFjOxZm0Y8fGRXimfsRg3xRv4ki-dxNXkdjWTmB-039Ttg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible Galaxy account issues

2015-08-27 Thread Greg DeKoenigsberg
On Thu, Aug 27, 2015 at 2:26 PM, Hristo Stoyanov hr.stoya...@gmail.com wrote:
 I think the idea to link up Galaxy account to Github as the only auth
 service is wrong. This is why neither Github not Docker hub do it.

Certainly willing to discuss it. :)

 Here is why:
 I created an account in Github, used that account to log into Galaxy and add
 my roles. Then deleted my account in GitHub (but still use the repositories
 there and organization under different github account).

OK, I'm confused. From Github:

Deleting your user account removes all repositories, forks of private
repositories, wikis, issues, pull requests, and pages.

So if you delete your account, how are you still using your
repositories?  I'm guessing that you forked them elsewhere, and are
now working with forks of a since-deleted project. Which is how it
should work in Galaxy as well, right?

 Now i can no longer log into my old Galaxy account and the roles I added are 
 unmanageable and basically junk.

If you really delete the Github account, the roles you added from that
account would have been broken anyway because Galaxy pulls them from
the originally associated Github repo, which would no longer be there.
This is precisely the kind of scenario we're trying to detect and
mitigate.

 Another problem is that I am forced to use the same username
 as my Github username, if I choose to open a new Galaxy account.

Is there a reason you object to that?

 Any ideas how can I recover my Galaxy account?

You should still be able to login to your old Galaxy account and use
it until the switchover happens.  We're waiting until January to (a)
make sure it's the right thing (I think it still is) and (b) give
plenty of time to identify and work out corner cases.

--g

 --
 You received this message because you are subscribed to the Google Groups
 Ansible Project group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to ansible-project+unsubscr...@googlegroups.com.
 To post to this group, send email to ansible-project@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/ansible-project/09c5249c-bb75-4342-b096-4062fb0b3738%40googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



-- 
Greg DeKoenigsberg
Ansible Community Guy

Find out why SD Times named Ansible
their #1 Company to Watch in 2015:
http://sdtimes.com/companies-watch-2015/

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAM1FbhH9L6PyEWfdm0S72XPu1NDGkzmJbBHHR3bNSWF5t85aGQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible Galaxy account issues

2015-08-27 Thread Hristo Stoyanov
Greg,
Here is the runaway account in Galaxy:
https://galaxy.ansible.com/list#/users/16353

peruncs is no longer a valid account in Github, but as you can see the 
repositories with the roles are live and well on github. The reason is that 
Github will only garbage-collect organizations and repositories when* all 
associated admins* have been deleted. However, I have another account 
hrstoyanov which manages them and keeps them alive.

The problem is that Galaxy was linked to the peruncs GitHub account  
So, I had to recreate the roles here: 
https://galaxy.ansible.com/list#/users/16352

with a name i do not like (i still prefer my roles to be under PERUNCS 
namespace/organization, e.g. ansible-galaxy install peruncs.docker), which 
is now impossible.

I think issues like that could be avoided if you allowed Galaxy specific 
accounts

Anyway, I still think linking accounts to github can be an issue

On Thursday, August 27, 2015 at 11:39:48 AM UTC-7, Greg DeKoenigsberg wrote:

 On Thu, Aug 27, 2015 at 2:26 PM, Hristo Stoyanov hr.st...@gmail.com 
 javascript: wrote: 
  I think the idea to link up Galaxy account to Github as the only auth 
  service is wrong. This is why neither Github not Docker hub do it. 

 Certainly willing to discuss it. :) 

  Here is why: 
  I created an account in Github, used that account to log into Galaxy and 
 add 
  my roles. Then deleted my account in GitHub (but still use the 
 repositories 
  there and organization under different github account). 

 OK, I'm confused. From Github: 

 Deleting your user account removes all repositories, forks of private 
 repositories, wikis, issues, pull requests, and pages. 

 So if you delete your account, how are you still using your 
 repositories?  I'm guessing that you forked them elsewhere, and are 
 now working with forks of a since-deleted project. Which is how it 
 should work in Galaxy as well, right? 

  Now i can no longer log into my old Galaxy account and the roles I added 
 are unmanageable and basically junk. 

 If you really delete the Github account, the roles you added from that 
 account would have been broken anyway because Galaxy pulls them from 
 the originally associated Github repo, which would no longer be there. 
 This is precisely the kind of scenario we're trying to detect and 
 mitigate. 

  Another problem is that I am forced to use the same username 
  as my Github username, if I choose to open a new Galaxy account. 

 Is there a reason you object to that? 

  Any ideas how can I recover my Galaxy account? 

 You should still be able to login to your old Galaxy account and use 
 it until the switchover happens.  We're waiting until January to (a) 
 make sure it's the right thing (I think it still is) and (b) give 
 plenty of time to identify and work out corner cases. 

 --g 

  -- 
  You received this message because you are subscribed to the Google 
 Groups 
  Ansible Project group. 
  To unsubscribe from this group and stop receiving emails from it, send 
 an 
  email to ansible-proje...@googlegroups.com javascript:. 
  To post to this group, send email to ansible...@googlegroups.com 
 javascript:. 
  To view this discussion on the web visit 
  
 https://groups.google.com/d/msgid/ansible-project/09c5249c-bb75-4342-b096-4062fb0b3738%40googlegroups.com.
  

  For more options, visit https://groups.google.com/d/optout. 



 -- 
 Greg DeKoenigsberg 
 Ansible Community Guy 

 Find out why SD Times named Ansible 
 their #1 Company to Watch in 2015: 
 http://sdtimes.com/companies-watch-2015/ 


-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/535be18d-d918-49d7-8fde-0684696da13f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible-galaxy with http/s proxy

2015-08-27 Thread Emilio Del Plato
Apologies if this has been covered somewhere and I missed it. 

Is it possible to have ansible-galaxy (CLI) connect using a proxy? we have 
our primary ansible box walled off and it needs to use a proxy to connect 
to the web (galaxy.ansible.com, github.com) 
I have tried using tsocks as well as setting environment variables but none 
of these options seem to be honored by galaxy cli. 

Is anyone aware of anyother method to use ansible-galaxy with a proxy?

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/53effa7d-bd7b-4cc4-9eb7-8d2ed12ad839%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] ansible-galaxy problems?

2015-07-28 Thread Willard Dennis
Just got this when I tried to init a new role structure:

will@wdennis-p390:~/ansible-stuff$ ansible-galaxy init roles/laptop_netcfg

^C- the API server (galaxy.ansible.com) is not responding, please try again 
later.


Looks like the server itself is available...

will@wdennis-p390:~/ansible-stuff$ ping galaxy.ansible.com
PING galaxy.ansible.com (66.228.58.225) 56(84) bytes of data.
64 bytes from li315-225.members.linode.com (66.228.58.225): icmp_req=1 ttl=
52 time=20.7 ms
64 bytes from li315-225.members.linode.com (66.228.58.225): icmp_req=2 ttl=
52 time=20.5 ms
64 bytes from li315-225.members.linode.com (66.228.58.225): icmp_req=3 ttl=
52 time=20.3 ms
64 bytes from li315-225.members.linode.com (66.228.58.225): icmp_req=4 ttl=
52 time=20.3 ms
64 bytes from li315-225.members.linode.com (66.228.58.225): icmp_req=5 ttl=
52 time=20.3 ms
64 bytes from li315-225.members.linode.com (66.228.58.225): icmp_req=6 ttl=
52 time=20.3 ms
^C
--- galaxy.ansible.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5009ms
rtt min/avg/max/mdev = 20.331/20.448/20.788/0.184 ms


Any known problems with Ansible Galaxy at present?

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7f817c0f-6039-4f77-aa7f-be58231d6f25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy feature request: show github statistics on search results page for modules

2015-05-19 Thread Daniel Ellis
The rating system is fine and all, but most of the projects I see aren't 
rated.  It'd be nice to see an overview in search results of things like 
number of commits, last update, number of stars so we can gauge which 
projects are of higher quality at a glance.

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/13d22da6-4aed-4bbc-a147-09a1a1723610%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible Galaxy feature request: show github statistics on search results page for modules

2015-05-19 Thread Greg DeKoenigsberg
Thanks. We'll be working on this and other features soon.

--g

On Mon, May 18, 2015 at 5:10 PM, Daniel Ellis ellis...@gmail.com wrote:
 The rating system is fine and all, but most of the projects I see aren't
 rated.  It'd be nice to see an overview in search results of things like
 number of commits, last update, number of stars so we can gauge which
 projects are of higher quality at a glance.

 --
 You received this message because you are subscribed to the Google Groups
 Ansible Project group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to ansible-project+unsubscr...@googlegroups.com.
 To post to this group, send email to ansible-project@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/ansible-project/13d22da6-4aed-4bbc-a147-09a1a1723610%40googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



-- 
Greg DeKoenigsberg
Ansible Community Guy

Find out why SD Times named Ansible
their #1 Company to Watch in 2015:
http://sdtimes.com/companies-watch-2015/

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAM1FbhHSS1xBKi0qDnXt5df4HeXuisj8m9VCn%3DXkanyVYFfaWg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] ansible-galaxy and requirements.yml

2015-03-03 Thread George Shuklin
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.yml 
# from galaxy
- src: yatesr.timezone

$ ansible-galaxy install -r requirements.yml
downloading role 'timezone', owned by -%20src%3A%20yatesr
Sorry, - src: yatesr.timezone was not found on galaxy.ansible.com.

I'm running ansible 1.7.2+dfsg-1 from ubuntu 15.04.

What I'm doing wrong?

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1c6b7079-b510-453c-af2b-231fa3ddd88e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy OS missing platforms metadata support for FreeBSD 10.x

2014-12-26 Thread Matt Willsher
Hi,

FreeBSD 10.x is missing from the support platforms metadata over on Galaxy. 
Can 10 and 10.1 be added please?

Thanks,
Matt

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3570e78f-144d-445c-a8c1-82d028f20625%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible Galaxy filter roles by platform

2014-11-17 Thread Michael DeHaan
I agree this would be useful.

We have a list of features to add to Galaxy in the future - though
currently we're prioritizing development on the main project instead.

Look for some upgrades in the coming months.



On Thu, Nov 13, 2014 at 1:03 AM, Will Thames w...@thames.id.au wrote:

 Would it be possible to add some filters in Ansible Galaxy to browse by
 OS.

 You have to click through to each role to discover that it's not suitable
 for your platform.

 It needn't be on by default, but it would be a good option.

 Will

 --
 You received this message because you are subscribed to the Google Groups
 Ansible Project group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to ansible-project+unsubscr...@googlegroups.com.
 To post to this group, send email to ansible-project@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/ansible-project/02b211b2-edec-4adc-bfc0-8f3b31bc8979%40googlegroups.com
 https://groups.google.com/d/msgid/ansible-project/02b211b2-edec-4adc-bfc0-8f3b31bc8979%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgxgbOVazZP5Bf7kVwSiE0Dbq3B_eSYMjfZ2hwALub2c0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible Galaxy role versioning

2014-11-13 Thread Brian Coca
from the man page:

ansible-galaxy install [options] [-r FILE | role_name(s)[,version] |
tar_file(s)]

if version is omitted the latest one is used.


-- 
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAJ5XC8nGSVK0WKRD1%3D1fXG7XPV%3D4wsuSbFU0f3oOPhhDLm-Ggg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible Galaxy role versioning

2014-11-13 Thread Will Thames
I was trying to do it using the -r spec file. But I'll have another look
next week. I thought it was galaxy that needed to understand versions but
perhaps it just uses the underlying repo versions.
On 13/11/2014 11:16 pm, Brian Coca bc...@ansible.com wrote:

 from the man page:

 ansible-galaxy install [options] [-r FILE | role_name(s)[,version] |
 tar_file(s)]

 if version is omitted the latest one is used.


 --
 Brian Coca

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Ansible Project group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/ansible-project/7zRQsH04rm4/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 ansible-project+unsubscr...@googlegroups.com.
 To post to this group, send email to ansible-project@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/ansible-project/CAJ5XC8nGSVK0WKRD1%3D1fXG7XPV%3D4wsuSbFU0f3oOPhhDLm-Ggg%40mail.gmail.com
 https://groups.google.com/d/msgid/ansible-project/CAJ5XC8nGSVK0WKRD1%3D1fXG7XPV%3D4wsuSbFU0f3oOPhhDLm-Ggg%40mail.gmail.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAGmGhM1XJ%3DrP_UgoFyjz-yjoMPZdEQp2FyzkAF4bCr3tMKzvtA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy filter roles by platform

2014-11-12 Thread Will Thames
Would it be possible to add some filters in Ansible Galaxy to browse by OS. 

You have to click through to each role to discover that it's not suitable 
for your platform. 

It needn't be on by default, but it would be a good option.

Will

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/02b211b2-edec-4adc-bfc0-8f3b31bc8979%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy role versioning

2014-11-12 Thread Will Thames
Is it possible to request a specific tag/version when installing a role 
from galaxy.ansible.com? 

Obviously there is a workaround of pointing at the github repo and choosing 
a commit id, but I was curious whether the concept of versioning galaxy 
roles exists?

Perhaps there's not much call for it - perhaps roles in galaxy never 
change, or those changes are always backwards-compatible. 

Will

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a39224ca-0fa8-471e-95d4-a181453dd12a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible Galaxy

2014-10-20 Thread Michael DeHaan
Galaxy is widely used with well over a thousand roles on them, the rating
system is not widely used.

It's not new, and it's getting a lot of traffic.




On Wed, Oct 15, 2014 at 12:37 PM, Matt Davies tonm...@gmail.com wrote:

 Hello everyone

 I'm just starting my ansible journey, so please bear with me.

 I'm looking at ansible galaxy, but all the roles I seem to be finding only
 have one customer rating at most, and none of them have any ansible ratings.

 https://galaxy.ansible.com

 I'm probably searching incorrectly, but it does look like the take up of
 this site isn't great.

 Could someone tell me if I'm searching incorrectly or is this the case?

 I realise it's new, but its such a good idea I thought people would be
 raring to use it.

 Any help, greatly appreciated.

 Matt


  --
 You received this message because you are subscribed to the Google Groups
 Ansible Project group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to ansible-project+unsubscr...@googlegroups.com.
 To post to this group, send email to ansible-project@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/ansible-project/0c767139-5ffa-4524-8e11-312cf5346ece%40googlegroups.com
 https://groups.google.com/d/msgid/ansible-project/0c767139-5ffa-4524-8e11-312cf5346ece%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgwq%2BwEuYoMHyO7HOcdYb9%2BELLQj%3DM%2B-H06mjydRDePNLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy

2014-10-15 Thread Matt Davies
Hello everyone

I'm just starting my ansible journey, so please bear with me.

I'm looking at ansible galaxy, but all the roles I seem to be finding only 
have one customer rating at most, and none of them have any ansible ratings.

https://galaxy.ansible.com

I'm probably searching incorrectly, but it does look like the take up of 
this site isn't great.

Could someone tell me if I'm searching incorrectly or is this the case?

I realise it's new, but its such a good idea I thought people would be 
raring to use it.

Any help, greatly appreciated.

Matt


-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0c767139-5ffa-4524-8e11-312cf5346ece%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy better GFM support

2014-08-26 Thread Takeshi Yaegashi
Hello project, 

Recently I've made my first submission in Ansible Galaxy:

https://galaxy.ansible.com/list#/roles/1475

Unfortunately the page above failed to render the module option table in 
README.md.
It's written in raw HTML, but looks correct on GitHub:

https://github.com/yaegashi/ansible-role-blockinfile/blob/master/README.md

Could you improve your site to give better support for GitHub flavored 
markdown?

Regards,
-- 
YAEGASHI Takeshi yaega...@debian.org

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d54c025b-326e-4a43-b84e-a5b5b9c497c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible Galaxy better GFM support

2014-08-26 Thread Michael DeHaan
Perhaps -- it's been requested before.

Right now we're using all of our resources on the ansible core project
since I think that does the most good, though the time will come in the
future where we add more upgrades, this will likely be one of them,
provided there are good Python libraries for github flavored markdown,
which I assume there are.

In the short term, I am hoping folks can use markdown flavored markdown :)





On Mon, Aug 25, 2014 at 5:04 AM, Takeshi Yaegashi yaega...@debian.org
wrote:

 Hello project,

 Recently I've made my first submission in Ansible Galaxy:

 https://galaxy.ansible.com/list#/roles/1475

 Unfortunately the page above failed to render the module option table in
 README.md.
 It's written in raw HTML, but looks correct on GitHub:

 https://github.com/yaegashi/ansible-role-blockinfile/blob/master/README.md

 Could you improve your site to give better support for GitHub flavored
 markdown?

 Regards,
 --
 YAEGASHI Takeshi yaega...@debian.org

 --
 You received this message because you are subscribed to the Google Groups
 Ansible Project group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to ansible-project+unsubscr...@googlegroups.com.
 To post to this group, send email to ansible-project@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/ansible-project/d54c025b-326e-4a43-b84e-a5b5b9c497c4%40googlegroups.com
 https://groups.google.com/d/msgid/ansible-project/d54c025b-326e-4a43-b84e-a5b5b9c497c4%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgwwgeASGLDKAWmC0y6vec%2BzwErC3_1cWSX26vnthCQ7Jw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible Galaxy roles - distro - arch 64

2014-02-26 Thread bryan hunt


I created a (trivial) role to install Docker onto Ubuntu Precise, and 
amended the meta/main.yml file appropriately. 

There is an issue though, this role only works on Ubuntu Precise 64bit. 
AFAIK, Docker do not supply 32 bit debs for their service. 

I can't figure out how to express this, is there a way of expressing CPU 
architecture? 

Thanks, 

Bryan 

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/8bca7d59-8404-4849-8839-44847ccb3af3%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [ansible-project] Ansible Galaxy roles - distro - arch 64

2014-02-26 Thread Michael DeHaan
I'd just mention it in the comments of now.


On Wed, Feb 26, 2014 at 11:11 AM, bryan hunt picsolvebr...@gmail.comwrote:



 I created a (trivial) role to install Docker onto Ubuntu Precise, and
 amended the meta/main.yml file appropriately.

 There is an issue though, this role only works on Ubuntu Precise 64bit.
 AFAIK, Docker do not supply 32 bit debs for their service.

 I can't figure out how to express this, is there a way of expressing CPU
 architecture?

 Thanks,

 Bryan

 --
 You received this message because you are subscribed to the Google Groups
 Ansible Project group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to ansible-project+unsubscr...@googlegroups.com.
 To post to this group, send email to ansible-project@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/ansible-project/8bca7d59-8404-4849-8839-44847ccb3af3%40googlegroups.com
 .
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAEVJ8QM1%2BcpQVzZ_LefqHyw68Z0Xcf-dS5VGsooX0RaYGT%2Bugw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [ansible-project] Ansible Galaxy roles - distro - arch 64

2014-02-26 Thread Paul Durivage
If you so choose, you could add a task to the role to ensure the system is
a 64-bit system.

- name: Ensure system is x86_64
  fail: msg=Docker requires a 64bit system architecture
  when: ansible_architecture != 'x86_64'

See the fail module: http://docs.ansible.com/fail_module.html




On Wed, Feb 26, 2014 at 10:11 AM, bryan hunt picsolvebr...@gmail.comwrote:



 I created a (trivial) role to install Docker onto Ubuntu Precise, and
 amended the meta/main.yml file appropriately.

 There is an issue though, this role only works on Ubuntu Precise 64bit.
 AFAIK, Docker do not supply 32 bit debs for their service.

 I can't figure out how to express this, is there a way of expressing CPU
 architecture?

 Thanks,

 Bryan

 --
 You received this message because you are subscribed to the Google Groups
 Ansible Project group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to ansible-project+unsubscr...@googlegroups.com.
 To post to this group, send email to ansible-project@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/ansible-project/8bca7d59-8404-4849-8839-44847ccb3af3%40googlegroups.com
 .
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAK6JQEEKZu3Dzw8gFHFyScw9W4BBrLZGiEvtRwnZbhS0WJCwjA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [ansible-project] Ansible Galaxy roles - distro - arch 64

2014-02-26 Thread bryan hunt
Yeah Paul, I like. I'll add it now. Good suggestion. Thanks, Bryan

On 26 Feb 2014, at 16:59, Paul Durivage paulduriv...@gmail.com wrote:

 If you so choose, you could add a task to the role to ensure the system is a 
 64-bit system. 
 
 - name: Ensure system is x86_64
   fail: msg=Docker requires a 64bit system architecture
   when: ansible_architecture != 'x86_64'
 
 See the fail module: http://docs.ansible.com/fail_module.html

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6902A0D1-0C59-4E2F-9293-90E79C85466E%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


[ansible-project] ansible-galaxy Readme formatting

2014-02-12 Thread James Martin
I spent a fair amount of time writing up documentation for my role(s), only
to find that Galaxy doesn't like Markdown's table syntax.

For example this is how it looks on github:

https://github.com/basho/ansible-riak/blob/master/README.md

Unfortunately, when that is sucked into Galaxy, it clobbers the table
completely.  Is it possible to add support for Markdown tables?


Thanks!


James

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [ansible-project] ansible-galaxy Readme formatting

2014-02-12 Thread James Cammarata
Yes, we can get this included in the next release.


On Wed, Feb 12, 2014 at 5:49 PM, James Martin jmar...@basho.com wrote:

 I spent a fair amount of time writing up documentation for my role(s),
 only to find that Galaxy doesn't like Markdown's table syntax.

 For example this is how it looks on github:

 https://github.com/basho/ansible-riak/blob/master/README.md

 Unfortunately, when that is sucked into Galaxy, it clobbers the table
 completely.  Is it possible to add support for Markdown tables?


 Thanks!


 James

 --
 You received this message because you are subscribed to the Google Groups
 Ansible Project group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to ansible-project+unsubscr...@googlegroups.com.
 To post to this group, send email to ansible-project@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [ansible-project] ansible-galaxy role dependencies broken?

2014-01-10 Thread Michael DeHaan
We've opened a ticket on role dependencies and will be taking a look at
this -- note that Galaxy is still in BETA mode and we're working on quite a
lot of improvements that we're going to be releasing some each week for the
next month or more.

For now, though, you'll want to download the deps manually.




On Fri, Jan 10, 2014 at 2:48 AM, Raphael Randschau 
raphael.randsc...@gmail.com wrote:

 I deleted my package and re-uploaded it to galaxy because I was trying to
 get it to properly parse my dependencies.
 My assumption was that maybe - since the source is closed - it would only
 properly parse dependencies the first time I import a package, and at that
 point in time the dependencies where NOT listed properly. But this was
 wrong.

 The correct dependency URL is now

 https://galaxy.ansibleworks.com/api/v1/roles/https://galaxy.ansibleworks.com/api/v1/roles/105/dependencies
 156/dependencieshttps://galaxy.ansibleworks.com/api/v1/roles/105/dependencies


 (105 - 156)

 But the issue remains. Any advice?

 Am Samstag, 4. Januar 2014 03:38:31 UTC+1 schrieb Michael DeHaan:

 I'm getting a permission error actually.  Are you getting this when
 visiting the dependency URL?

  detail: You do not have permission to perform this action.

 This is almost definitely on our side, but let me know the above and I'll
 get this queued up.

 I know we tested some dependency things, so it's probably just a question
 of why it's returning the above :)




 On Fri, Jan 3, 2014 at 6:52 AM, Raphael Randschau 
 raphael@gmail.comwrote:

 Hey there,

 I just realised that installing galaxy roles does not download the
 dependencies listed in the meta/main.yml.

 Take for example one of my roles, rails-deployment: meta/main.yml does
 list my dependencies (which is properly formatted according to galaxy
 source:

 https://github.com/nicolai86/ansible-rails-deployment/blob/
 v0.3.2/meta/main.yml

 but the api does NOT list my dependencies, thus failing to install them
 when installing the above role:

 https://galaxy.ansibleworks.com/api/v1/roles/105/dependencies

 Is this a bug in ansible galaxy, is the galaxy source wrong, or is it a
 fault on my side? please advise.



  --
 You received this message because you are subscribed to the Google
 Groups Ansible Project group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to ansible-proje...@googlegroups.com.
 To post to this group, send email to ansible...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.




 --
 Michael DeHaan mic...@ansibleworks.com

 CTO, AnsibleWorks, Inc.
 http://www.ansibleworks.com/

   --
 You received this message because you are subscribed to the Google Groups
 Ansible Project group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to ansible-project+unsubscr...@googlegroups.com.
 To post to this group, send email to ansible-project@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Michael DeHaan mich...@ansibleworks.com
CTO, AnsibleWorks, Inc.
http://www.ansibleworks.com/

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[ansible-project] ansible-galaxy role dependencies broken?

2014-01-03 Thread Raphael Randschau
Hey there,

I just realised that installing galaxy roles does not download the 
dependencies listed in the meta/main.yml.

Take for example one of my roles, rails-deployment: meta/main.yml does list 
my dependencies (which is properly formatted according to galaxy source:

https://github.com/nicolai86/ansible-rails-deployment/blob/v0.3.2/meta/main.yml

but the api does NOT list my dependencies, thus failing to install them 
when installing the above role:

https://galaxy.ansibleworks.com/api/v1/roles/105/dependencies

Is this a bug in ansible galaxy, is the galaxy source wrong, or is it a 
fault on my side? please advise.



-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [ansible-project] ansible-galaxy role dependencies broken?

2014-01-03 Thread Michael DeHaan
I'm getting a permission error actually.  Are you getting this when
visiting the dependency URL?

 detail: You do not have permission to perform this action.

This is almost definitely on our side, but let me know the above and I'll
get this queued up.

I know we tested some dependency things, so it's probably just a question
of why it's returning the above :)




On Fri, Jan 3, 2014 at 6:52 AM, Raphael Randschau 
raphael.randsc...@gmail.com wrote:

 Hey there,

 I just realised that installing galaxy roles does not download the
 dependencies listed in the meta/main.yml.

 Take for example one of my roles, rails-deployment: meta/main.yml does
 list my dependencies (which is properly formatted according to galaxy
 source:


 https://github.com/nicolai86/ansible-rails-deployment/blob/v0.3.2/meta/main.yml

 but the api does NOT list my dependencies, thus failing to install them
 when installing the above role:

 https://galaxy.ansibleworks.com/api/v1/roles/105/dependencies

 Is this a bug in ansible galaxy, is the galaxy source wrong, or is it a
 fault on my side? please advise.



  --
 You received this message because you are subscribed to the Google Groups
 Ansible Project group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to ansible-project+unsubscr...@googlegroups.com.
 To post to this group, send email to ansible-project@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Michael DeHaan mich...@ansibleworks.com
CTO, AnsibleWorks, Inc.
http://www.ansibleworks.com/

-- 
You received this message because you are subscribed to the Google Groups 
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.