# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=280

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

**Page:** 281

---

## [win\_scheduled\_task : run the scheduled task every minute](https://forum.ansible.com/t/win-scheduled-task-run-the-scheduled-task-every-minute/26741)

<div class="topic-metadata">

**Author:** [@ktesr123456](https://forum.ansible.com/u/ktesr123456)\
**Replies:** 4\
**Last updated:** [February 16, 2018, 7:19pm UTC](https://forum.ansible.com/t/win-scheduled-task-run-the-scheduled-task-every-minute/26741 "2018-02-16T19:19:48Z")

</div>

Team, Is there any option to run the scheduled task every minute. in the documentation i see the frequency is either once or daily or weekly I am referring to “Advance Settings” from Trigger of Windows Scheduled task T…

---

## [SSH using non-admin user, then sudo using admin user](https://forum.ansible.com/t/ssh-using-non-admin-user-then-sudo-using-admin-user/26765)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [February 16, 2018, 6:25pm UTC](https://forum.ansible.com/t/ssh-using-non-admin-user-then-sudo-using-admin-user/26765 "2018-02-16T18:25:50Z")

</div>

Ansible cannot do what your system cannot do, if you cannot login and gain admin privileges Ansible will not hack the system to give them to you. Ansible reuses existing login/escalation, it does not create it for you…

---

## [Are there issue with mass deployment related to SSH?](https://forum.ansible.com/t/are-there-issue-with-mass-deployment-related-to-ssh/26732)

<div class="topic-metadata">

**Author:** [@cmonty14](https://forum.ansible.com/u/cmonty14)\
**Replies:** 5\
**Last updated:** [February 16, 2018, 2:19pm UTC](https://forum.ansible.com/t/are-there-issue-with-mass-deployment-related-to-ssh/26732 "2018-02-16T14:19:33Z")

</div>

Hello! I have a question that derives from the comparison Ansible vs. Salt. As Ansible relies on SSH connection some people say that this has a downside for a scenario like mass deployment of 1000 servers Can you co…

---

## [i cant able to build ansible-playbook](https://forum.ansible.com/t/i-cant-able-to-build-ansible-playbook/26759)

<div class="topic-metadata">

**Author:** [@Dark\_Night](https://forum.ansible.com/u/Dark_Night)\
**Replies:** 1\
**Last updated:** [February 16, 2018, 1:49pm UTC](https://forum.ansible.com/t/i-cant-able-to-build-ansible-playbook/26759 "2018-02-16T13:49:04Z")

</div>

source yml file

---

## [Extracting a substring with regex\_replace fails](https://forum.ansible.com/t/extracting-a-substring-with-regex-replace-fails/26730)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 7\
**Last updated:** [February 16, 2018, 10:40am UTC](https://forum.ansible.com/t/extracting-a-substring-with-regex-replace-fails/26730 "2018-02-16T10:40:45Z")

</div>

ansible 2.6.0 (devel da5cf72236) last updated 2018/02/14 14:29:49 (GMT +200) The task seems obvious at first glance but it appears to be difficult to implement in this context. The string is: host\_meta: “\\n \\n” I nee…

---

## [ImportError: No module named runner (environment issues)](https://forum.ansible.com/t/importerror-no-module-named-runner-environment-issues/19148)

<div class="topic-metadata">

**Author:** [@Dan\_Swartz](https://forum.ansible.com/u/Dan_Swartz)\
**Replies:** 4\
**Last updated:** [February 16, 2018, 9:54am UTC](https://forum.ansible.com/t/importerror-no-module-named-runner-environment-issues/19148 "2018-02-16T09:54:20Z")

</div>

How I got here: I have been wanting to prepare for the upgrade to v2.0 for awhile now and, having just seen the alpha release, I thought I’d try it… super bad idea, it turns out. My whole environment is messed up. I had…

---

## [Unable to join the worker with mastr node ip registered](https://forum.ansible.com/t/unable-to-join-the-worker-with-mastr-node-ip-registered/26758)

<div class="topic-metadata">

**Author:** [@Kalidoss\_Thiyagaraja](https://forum.ansible.com/u/Kalidoss_Thiyagaraja)\
**Replies:** 0\
**Last updated:** [February 16, 2018, 5:58am UTC](https://forum.ansible.com/t/unable-to-join-the-worker-with-mastr-node-ip-registered/26758 "2018-02-16T05:58:43Z")

</div>

Not working on dockerce 17.0 version

---

## [doubt](https://forum.ansible.com/t/doubt/26743)

<div class="topic-metadata">

**Author:** [@Dark\_Night](https://forum.ansible.com/u/Dark_Night)\
**Replies:** 2\
**Last updated:** [February 16, 2018, 5:00am UTC](https://forum.ansible.com/t/doubt/26743 "2018-02-16T05:00:09Z")

</div>

let me out from this below how can i integrate ansible with docker-container the function of docker commands run on ansible module for example docker pull command run ansible name: pull an image docker\_image: …

---

## [master playbook calling playbooks if any playbook is modified](https://forum.ansible.com/t/master-playbook-calling-playbooks-if-any-playbook-is-modified/26574)

<div class="topic-metadata">

**Author:** [@Balaji1](https://forum.ansible.com/u/Balaji1)\
**Replies:** 1\
**Last updated:** [February 16, 2018, 1:20am UTC](https://forum.ansible.com/t/master-playbook-calling-playbooks-if-any-playbook-is-modified/26574 "2018-02-16T01:20:20Z")

</div>

Need advice/suggestions I want to write playbook which shall call other playbooks if a playbook is modified. Background - I have 6 hosts each have different tomcat/java application Host1 - app1, app2 Host2 - app3, a…

---

## [How to execute code before task if the task has changed?](https://forum.ansible.com/t/how-to-execute-code-before-task-if-the-task-has-changed/26678)

<div class="topic-metadata">

**Author:** [@Logan\_McNaughton](https://forum.ansible.com/u/Logan_McNaughton)\
**Replies:** 1\
**Last updated:** [February 16, 2018, 1:15am UTC](https://forum.ansible.com/t/how-to-execute-code-before-task-if-the-task-has-changed/26678 "2018-02-16T01:15:49Z")

</div>

I have Windows server that have an EXE pushed to them via Ansible, and then that EXE is associated with a Windows Service (also via Ansible). So the playbook goes: Copy EXE to host (win\_copy) Create and start service …

---

## [JSON Query Filter Help](https://forum.ansible.com/t/json-query-filter-help/26753)

<div class="topic-metadata">

**Author:** [@Gilberto\_Valentin](https://forum.ansible.com/u/Gilberto_Valentin)\
**Replies:** 3\
**Last updated:** [February 15, 2018, 11:51pm UTC](https://forum.ansible.com/t/json-query-filter-help/26753 "2018-02-15T23:51:06Z")

</div>

I have a task that hits a url and returns the results in JSON array like this: “json”: { “statuses”: \[ { “application”: “JIRA”, “completeKey”: “com.atlassian.jira.plugins.jira-healthcheck-plugin:hsqlHealthCheck”, …

---

## [ansible ping failure](https://forum.ansible.com/t/ansible-ping-failure/26752)

<div class="topic-metadata">

**Author:** [@0x4e6f43\_676573](https://forum.ansible.com/u/0x4e6f43_676573)\
**Replies:** 2\
**Last updated:** [February 15, 2018, 10:50pm UTC](https://forum.ansible.com/t/ansible-ping-failure/26752 "2018-02-15T22:50:13Z")

</div>

\*\*\* New to ansible & linux \*\*\* I’ve installed ansible on a ZorinOS vm and am attempting (with no luck) to ping a host in the /etc/ansible/hosts file. I can ssh to the host and can also scp files from ansible to the host…

---

## [ansible script module fails in ansible 2.3.1](https://forum.ansible.com/t/ansible-script-module-fails-in-ansible-2-3-1/26751)

<div class="topic-metadata">

**Author:** [@Anil](https://forum.ansible.com/u/Anil)\
**Replies:** 0\
**Last updated:** [February 15, 2018, 9:22pm UTC](https://forum.ansible.com/t/ansible-script-module-fails-in-ansible-2-3-1/26751 "2018-02-15T21:22:07Z")

</div>

Hello, I am running powershell script using script module on ansible core 2.3.1.0. But it works on older version ansible core 2.2. Is this a bug in ansible 2.3 and higher version, any fixes or any workarounds would be a…

---

## [How does Ansible works when ansbile user can't get enter-pssession](https://forum.ansible.com/t/how-does-ansible-works-when-ansbile-user-cant-get-enter-pssession/26744)

<div class="topic-metadata">

**Author:** [@user92](https://forum.ansible.com/u/user92)\
**Replies:** 4\
**Last updated:** [February 15, 2018, 9:20pm UTC](https://forum.ansible.com/t/how-does-ansible-works-when-ansbile-user-cant-get-enter-pssession/26744 "2018-02-15T21:20:20Z")

</div>

Hi there. I have odd question, but i need to ask it. I set up Ansible to use windows account with limitied rights. All I do for this account is to write it’s sid into rootsddl for Wirm. This user can’t logon via RDP a…

---

## [Looping through registered lines](https://forum.ansible.com/t/looping-through-registered-lines/26750)

<div class="topic-metadata">

**Author:** [@Ian\_Barrere](https://forum.ansible.com/u/Ian_Barrere)\
**Replies:** 2\
**Last updated:** [February 15, 2018, 9:00pm UTC](https://forum.ansible.com/t/looping-through-registered-lines/26750 "2018-02-15T21:00:42Z")

</div>

I have a task for a Cisco device where I register zero or more lines to come back to later: name: gather non-standard usernames ios\_command: commands: show running-config | include username register: usernames I wo…

---

## [Run pre/post tasks once with serial 1](https://forum.ansible.com/t/run-pre-post-tasks-once-with-serial-1/26740)

<div class="topic-metadata">

**Author:** [@Michael\_Perzel](https://forum.ansible.com/u/Michael_Perzel)\
**Replies:** 10\
**Last updated:** [February 15, 2018, 6:31pm UTC](https://forum.ansible.com/t/run-pre-post-tasks-once-with-serial-1/26740 "2018-02-15T18:31:27Z")

</div>

I have a playbook where I would like to do a task once before starting a couple roles and once after roles with serial 1. I thought I could accomplish this with pre and post tasks but it looks like they are called once p…

---

## [letsencrypt module - account\_key](https://forum.ansible.com/t/letsencrypt-module-account-key/26726)

<div class="topic-metadata">

**Author:** [@Michael\_Bubb](https://forum.ansible.com/u/Michael_Bubb)\
**Replies:** 2\
**Last updated:** [February 15, 2018, 6:18pm UTC](https://forum.ansible.com/t/letsencrypt-module-account-key/26726 "2018-02-15T18:18:38Z")

</div>

Hello - I am a little confused by what is needed in the account\_key parameter. The docs say it is: File containing the Let’s Encrypt account RSA key. Can be created with openssl rsa .... | | I know when I firs…

---

## [ansible with jenkins pipeline](https://forum.ansible.com/t/ansible-with-jenkins-pipeline/26733)

<div class="topic-metadata">

**Author:** [@Sidh](https://forum.ansible.com/u/Sidh)\
**Replies:** 1\
**Last updated:** [February 15, 2018, 6:17pm UTC](https://forum.ansible.com/t/ansible-with-jenkins-pipeline/26733 "2018-02-15T18:17:41Z")

</div>

Hi, Anyone using ansible with jenkins pipeline ? Can you please point me to some documentation with examples ? Regards, Sidh

---

## [os\_server module rerun always fails](https://forum.ansible.com/t/os-server-module-rerun-always-fails/26749)

<div class="topic-metadata">

**Author:** [@Sven\_Leupold](https://forum.ansible.com/u/Sven_Leupold)\
**Replies:** 2\
**Last updated:** [February 15, 2018, 6:10pm UTC](https://forum.ansible.com/t/os-server-module-rerun-always-fails/26749 "2018-02-15T18:10:49Z")

</div>

Hi I wonder if you experience the same problem with os\_server if you run an openstack playbook twice or more. If I run os\_server after the initial vm setup was successful, it always fails. Destroying vm’s with state: a…

---

## [Marshalling Cisco AireOS/WLC devices with ansible](https://forum.ansible.com/t/marshalling-cisco-aireos-wlc-devices-with-ansible/23845)

<div class="topic-metadata">

**Author:** [@cognifloyd](https://forum.ansible.com/u/cognifloyd)\
**Replies:** 2\
**Last updated:** [February 15, 2018, 5:06pm UTC](https://forum.ansible.com/t/marshalling-cisco-aireos-wlc-devices-with-ansible/23845 "2018-02-15T17:06:35Z")

</div>

Hey all, I just filed #22098: “Feature Idea: Add module for Cisco AireOS devices (WLCs)”. We have a Cisco WLC where we need to dynamically create/destroy or enable/disable wireless networks. I even need to dynamically …

---

## [Gathering facts when the target does not have Python or internet access?](https://forum.ansible.com/t/gathering-facts-when-the-target-does-not-have-python-or-internet-access/26746)

<div class="topic-metadata">

**Author:** [@Matt\_Hickok](https://forum.ansible.com/u/Matt_Hickok)\
**Replies:** 3\
**Last updated:** [February 15, 2018, 3:21pm UTC](https://forum.ansible.com/t/gathering-facts-when-the-target-does-not-have-python-or-internet-access/26746 "2018-02-15T15:21:36Z")

</div>

I’m looking to use Ansible as a way of gathering information about nodes on a network – things like CPU architecture, kernel, basic things that would be captured by the setup module. While all of these devices will be r…

---

## [How to pass command line arguments when installing a rpm file](https://forum.ansible.com/t/how-to-pass-command-line-arguments-when-installing-a-rpm-file/26747)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [February 15, 2018, 3:04pm UTC](https://forum.ansible.com/t/how-to-pass-command-line-arguments-when-installing-a-rpm-file/26747 "2018-02-15T15:04:20Z")

</div>

shell is batch only, you want http://docs.ansible.com/ansible/latest/expect\_module.html

---

## [Questions about file copy / modification](https://forum.ansible.com/t/questions-about-file-copy-modification/26745)

<div class="topic-metadata">

**Author:** [@Sacha\_Lrt](https://forum.ansible.com/u/Sacha_Lrt)\
**Replies:** 0\
**Last updated:** [February 15, 2018, 10:13am UTC](https://forum.ansible.com/t/questions-about-file-copy-modification/26745 "2018-02-15T10:13:02Z")

</div>

Hello everybody ! I’m kind of new around here and a fresh new Ansible user ! So my questions may sounds little bit stupid… Anyway ! My environment is the following : I’m using ansible to manage VM behind a bastion. So …

---

## [WinRM configuration script error](https://forum.ansible.com/t/winrm-configuration-script-error/18401)

<div class="topic-metadata">

**Author:** [@Rene\_Metery](https://forum.ansible.com/u/Rene_Metery)\
**Replies:** 9\
**Last updated:** [February 15, 2018, 8:53am UTC](https://forum.ansible.com/t/winrm-configuration-script-error/18401 "2018-02-15T08:53:27Z")

</div>

Hi, I am currently configuring a windows computer to accept remote access from ansible and I am having a problem while running the script ConfigureRemotingForAnsible.ps1. Here is the error : PS D:\\Ansible\\Power Shell …

---

## [Checking for undefined, empty or null variables](https://forum.ansible.com/t/checking-for-undefined-empty-or-null-variables/26729)

<div class="topic-metadata">

**Author:** [@jn.bedag](https://forum.ansible.com/u/jn.bedag)\
**Replies:** 6\
**Last updated:** [February 15, 2018, 7:51am UTC](https://forum.ansible.com/t/checking-for-undefined-empty-or-null-variables/26729 "2018-02-15T07:51:46Z")

</div>

This is my example playbook:

---

## [Jinja2 Template and Dictionary issue](https://forum.ansible.com/t/jinja2-template-and-dictionary-issue/26731)

<div class="topic-metadata">

**Author:** [@Owen\_Corcoran](https://forum.ansible.com/u/Owen_Corcoran)\
**Replies:** 3\
**Last updated:** [February 15, 2018, 6:02am UTC](https://forum.ansible.com/t/jinja2-template-and-dictionary-issue/26731 "2018-02-15T06:02:12Z")

</div>

Can anyone help me with the below, maybe my approach is wrong. What I’m trying to do is to create from a template a keepalived file based on the elements in a dictionary. I’ve included the code below, when its ran the e…

---

## [BUG?  'AnsibleSequence' object has no attribute 'strip'](https://forum.ansible.com/t/bug-ansiblesequence-object-has-no-attribute-strip/26727)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 1\
**Last updated:** [February 15, 2018, 1:28am UTC](https://forum.ansible.com/t/bug-ansiblesequence-object-has-no-attribute-strip/26727 "2018-02-15T01:28:45Z")

</div>

I don't know if I have a syntax issue or a bug. Thought before filing a bug I would see what you guys thought. I have a bunch of roles/playbooks I wish to execute against new servers. Here is what I have come up wi…

---

## [Roles are download to a different directory when running ansible-galaxy install?](https://forum.ansible.com/t/roles-are-download-to-a-different-directory-when-running-ansible-galaxy-install/26742)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 0\
**Last updated:** [February 14, 2018, 10:39pm UTC](https://forum.ansible.com/t/roles-are-download-to-a-different-directory-when-running-ansible-galaxy-install/26742 "2018-02-14T22:39:46Z")

</div>

Ansible v2.4.0.0 I have a requirements file that specifies the Git repo for each role that I want to use in my playbook, and I do the following to install the roles from our internal galaxy \` cd /path\_to\_playbook ans…

---

## [BUG or Operating As Designed?](https://forum.ansible.com/t/bug-or-operating-as-designed/26738)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 2\
**Last updated:** [February 14, 2018, 8:32pm UTC](https://forum.ansible.com/t/bug-or-operating-as-designed/26738 "2018-02-14T20:32:19Z")

</div>

I have the following playbook: \`

---

## [Trouble with win\_package](https://forum.ansible.com/t/trouble-with-win-package/26736)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 2\
**Last updated:** [February 14, 2018, 6:46pm UTC](https://forum.ansible.com/t/trouble-with-win-package/26736 "2018-02-14T18:46:50Z")

</div>

All, I’m running version 2.3 (can’t update to 2.4 just yet) and, despite what should be super stupid simple, I’ve never been able to get win\_package to work. I’ve changed up my win\_package play in every conceivable way,…

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=279)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=281)
