[ansible-project] windows become runas without target user password?

2018-01-02 Thread Benjamin Schweizer
Hello, I've found that I need to become administrator for some chocolatey package installations, even when my domain user is member of local administrators group. To do so, I run: tasks: # - win_ping: - name: become test win_shell: whoami become: true become_user: administrator

[ansible-project] windows become runas without target user password?

2018-01-02 Thread Jordan Borean
This is working as designed, the runas become method is used to run a process under a different logon type rather than escalating privileges. There is no need to escalate privileges within WinRM as each process is run like it would when right clicking on an exe and saying run as administrator.

[ansible-project] Ansible Tower vault issues

2018-01-02 Thread nbmprivat
Hi there, I've setup Ansible Tower and imported a ansible project from a Git repository. Credentials for localhost and vault (prompt) have been added. The playbook normally runs like this: ansible-playbook Playbooks/vsphere-vm-provisioning/deploy-tmc.yml --ask- vault-pas The output in Tower

Re: [ansible-project] Unable to ping Using Inventory

2018-01-02 Thread Brian Coca
@shaikh, the command looks right, can you print both the command and the output you get with -vvv added? -- -- 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 f

[ansible-project] Create variables based on hostname

2018-01-02 Thread Yz Xyz
Hi - I want to create 3 variables based on hostname. These variables will be used inside other tasks. Host Pattern: mabos Ex: mabosqa1was01 what is the best way to create variables and use for subsequent task on host ? should I write 3 different shell scripts to register appropriate variable

Re: [ansible-project] Why is using args from variables considered unsave?

2018-01-02 Thread Olivier Cervello
Ok, but I consider this as a workaround and not a solution (cf. comment I wrote above). -- 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+unsub

Re: [ansible-project] Using ansible tower best practice to segregate data

2018-01-02 Thread Adam Miller
On Fri, Dec 29, 2017 at 11:52 PM, Dhaval Joshi wrote: > Hello > > I am migrating from puppet to ansible and using tower, > > I have question on managing data as per the role of server (dmz/core) or as > per different region or datacentre (similar to hiradata in puppet) whats best > way to acheiv

[ansible-project] ansible - small iterations server lifecycle

2018-01-02 Thread Sergey Glazyrin
Hey guys! I'd like to emulate "migration" system for ansible provisioning of my servers. For example, let's say: 1. I add to my product "Feature A" which requires changes on hosts with role: elasticsearch, postgres, redis 2.Then I add "feature b" which partially rollbacks changes made for featur

[ansible-project] Re: ansible - small iterations server lifecycle

2018-01-02 Thread Sergey Glazyrin
Ideally, I'd like to have some "incremental" strategy which stores successfully applied "server migration" to database and then while next run it won't execute it again середа, 3 січня 2018 р. 01:54:53 UTC+1 користувач Sergey Glazyrin написав: > > Hey guys! > I'd like to emulate "migration" sys