Re: [ansible-project] Relation between RHEL 7.4 and Ansible ?

2017-05-24 Thread Marcus Franke
On Wed, May 24, 2017 at 01:19:28AM -0700, Jean-Yves LENHOF wrote: > Hi, > > I read a topic about Ansible in the following announcement : > > https://www.redhat.com/en/about/blog/red-hat-enterprise-linux-74-beta-now-available > > But I can't find a reference about it in the release notes... >

Re: [ansible-project] HOW TO INSTALL VAGRANT IN FEDORA25

2017-05-23 Thread Marcus Franke
On Mon, May 22, 2017 at 09:15:26AM -0700, devopsaws.santh...@gmail.com wrote: > hai sir, > may i know the process of installation vagrant up in fedora 25 its not > installed i tried and followed so many blogs but no soution..can anyone > know the instalation steps... Have you tried installing

Re: [ansible-project] suggestion for using ~/.my.cnf file

2017-05-05 Thread Marcus Franke
Am 04.05.2017 um 22:04 schrieb Dick Davies: On 4 May 2017 at 20:12, cutiee wrote: Output_error: failed: [10.100.140.230] => {"failed": true} msg: unable to connect, check login credentials (login_user, and login_password, which can be defined in ~/.my.cnf), check

Re: [ansible-project] Ansible documentation search function

2016-08-24 Thread Marcus Franke
On Tue, Aug 23, 2016 at 11:21:17PM +0200, Kai Stian Olstad wrote: > > Thanks Matt, I don't see it, but I now why now. I use the add-on NoScript in > Firefox, and have it to disable all 3rd party javascript. > > Enabled the javascript and tested the search, but I like the built in Sphinx > search

Re: [ansible-project] Bug in gem module?

2016-08-15 Thread Marcus Franke
On Sat, Aug 13, 2016 at 03:24:15AM -0700, michaelea...@outlook.com wrote: > Hi, > > TASK [sensu-check : SENSU | Install required gems] > * > > If you look at the task for installing gems, there is no output.. > > Running the task with - doesn't show anything

Re: [ansible-project] Configure isolated servers without Internet access

2016-08-12 Thread Marcus Franke
On Thu, Aug 11, 2016 at 08:30:34PM -0700, David Li wrote: > Hi, > > I am relatively new to Ansible. I need to use Ansible from a dev laptop to > set up some servers (both Ubuntu and Centos) that are isolated without any > Internet access. The laptop has Internet access for development and it

Re: [ansible-project] Re: Ansible 2.0 -- the "new" correct way to update??

2016-01-20 Thread Marcus Franke
Glenn, the new 2.0 rpm packages are in the epel-test channel and will stay there for a while. That's kind of a policy with the epel project. If they would push the package to the main epel repository it would break all those setups that are not ready yet for the update. Glenn Barnard

Re: [ansible-project] Ansible 2.0 VMWare modules

2016-01-14 Thread Marcus Franke
Hi, by default VMware uses a self signed certificate for the vcenter web interface. You could change this against an official one with a trust anchor your system can verify or configure your play not to verify the certificate. If that is possible, never used that module myself. Regards, Marcus

Re: [ansible-project] Re: Manage Unix Users Over Multiple Evironments with Ansible

2015-11-16 Thread Marcus Franke
Hi, have you thought about managing those users with LDAP and sssd? The permissions could be managed with groups. Maybe this approach is easier to maintain. In case of on or off boarding, just create or disable the user. No need to run Ansible just because someone left your organization.

[ansible-project] Inheritance of variables .. host_vars, group_vars .. a question

2015-10-22 Thread Marcus Franke
Hello, I've got a big problem with host and group variables in my playbook and Im not sure if I am just plain stupid or if I am running into a bug or am abusing ansible in some kind ;) Some background, I use ansible 1.9.4 installed from brew on OS X. I have a group of currently two servers and

Re: [ansible-project] Inheritance of variables .. host_vars, group_vars .. a question

2015-10-22 Thread Marcus Franke
Thanks for the quick answer, this is great to know! Sorry for sending the mail three times, my mail client reported an error when sending. Greetings, Marcus On Thu, Oct 22, 2015 at 5:21 PM, Brian Coca wrote: > this is the default behaviour, ansible overwrites vars when

Re: [ansible-project] Problem with permissions

2015-08-31 Thread Marcus Franke
What about doing the login as your service account? Most likely your user is missing sudo permissions or your playbook does not use sudo settings. As the error message states, svc-test-prod02 is not allowed to write in the /opt/refdata directory. If I have to guess, I would say its owned by

Re: [ansible-project] Loading rvm in remote server before a playbook starts

2015-08-23 Thread Marcus Franke
On Sat, Aug 22, 2015 at 03:15:40PM -0700, Derrick Mar wrote: Hey Brian. Thanks for the response. Yeah I definitely agree this is a noop. My question is how do I make is so that it loads RVM and ansible_env.PATH will include paths such as /home/ubuntu/.rvm/gems/ruby-2.2.2/wrappers. For

Re: [ansible-project] msg: [Errno 2] No such file or directory when using bundle

2015-08-19 Thread Marcus Franke
Hi You are running into a typical rvm error. I assume you have some special rvm ruby version with a custom gemset. The problem is, Ansible has to do the same rvm use ruby-2.1.5@gemset like you would do in your shell. Unless you are using the .ruby-(version|gemset) dotfiles. Ansible does not

Re: [ansible-project] Secure Authentication

2015-08-12 Thread Marcus Franke
Hi, what about some kind of a bootstrap playbook that will create a deployment user with sudo rights and a ssh key access. This way you will have to provide the password exact one time per server. /mf Rishikesh Pawar rishikeshmpa...@gmail.com schrieb am Mi., 12. Aug. 2015 21:38: Hi In

Re: [ansible-project] Ansible and rhn_register

2015-08-11 Thread Marcus Franke
Hi, did you check for the error message from the failed task? This looks like an error message from you satellite server you were trying to unregister from and not like an ansible error. Register, update, unregister sounds like you are trying to save licenses for your servers and the error

Re: [ansible-project] 'dopy = 0.2.3 required for this module'

2015-06-01 Thread Marcus Franke
Hi, you are missing the digitalocean client on your local machine 'dopy'. You can try to install it using pip or follow the instructions of the repository. http://devo.ps/blog/announcing-dopy-with-digitalocean-api-v2/ Regards, Marcus Am 01.06.2015 14:44 schrieb Global Cooling

Re: [ansible-project] Ansible coming from a Fabric perspective

2015-05-21 Thread Marcus Franke
Hi, What about using tags and sorting out those tasks you need for an deployment? Running just half of your playbook? http://docs.ansible.com/playbooks_tags.html Regards, Marcus Am 20.05.2015 20:20 schrieb J Hawkesworth j.r.hawkeswo...@googlemail.com : Have you considered setting local facts.

Re: [ansible-project] Error when setting MariaDB root credentials

2015-05-11 Thread Marcus Franke
Hi Carlos, MariaDB [mysql] select User,Host,Password from user; +--+-+--+ | User | Host| Password | +--+-+--+ | root | localhost | | | root | mariadb.example.com

Re: [ansible-project] ansible testserver -m ping -vvvv: FAILED = SSH Error: debug1: Calling cleanup 0x8078582(0x0)

2015-05-11 Thread Marcus Franke
Does Ansible not use paramiko by default? At least that is how I understood the paramiko section here http://docs.ansible.com/glossary.html Can you please tell me what exactly I should put into ansible.cfg to make this switch to paramiko use happen? Hi Dusan, have a look at the

Re: [ansible-project] bad PATH when running apt module

2015-05-11 Thread Marcus Franke
Hi Alex, if you are looking for problems with sudo you can login as your ansible user and issue sudo -l. This will list all commands your ansible user is allowed to use. From your sudo config files, %sudo group can fire all kind of commands, but needs a password. That's by intention? Regards,

Re: [ansible-project] Ansible coming from a Fabric perspective

2015-05-10 Thread Marcus Franke
Hi, For example, in my toolkit, to ping a server I would run: fab role ping but from one of the first examples in the Ansible intro docs, it would be: ansible all --inventory-file=inventory.ini --module-name ping -u username --private-key=~/path/to/private_key You should have a

Re: [ansible-project] Want to use private_key_file as varable in template file.

2015-05-10 Thread Marcus Franke
Am 09.05.2015 07:36 schrieb t goto tomoyan...@gmail.com: Sounds like a plan! :) I willl try this method, thanks! Hi, one thing I don't understand, why do you need to roll out the private key at all? Using the ssh-agent and agent forwarding you can use your locally stored private key even for

Re: [ansible-project] Re: simple rails app (login shell command)

2015-05-10 Thread Marcus Franke
Hello, if you have access to private Debian repositories I would suggest to leave the git clone and bundler part to some ci server and create a deb package from you application using fpm as packaging tool. Use bundle install with a local vendor path, this way all gems are installed in you