generally you need administrator access on the box. what version of bigip is this?
On Wed, May 31, 2017 at 3:49 PM, Siva Subramaniyan <[email protected]> wrote: > Hi Tim, > > I just tried, with my "testuser" credentials. > > *Last login: Fri May 26 10:35:36 2017 from 172.21.132.162* > > *testuser@(RS1-PV-INTRA-NET-GTM)(cfg-sync > Standalone)(Active)(/Common)(tmos)# bigstart status restjavad* > > *Syntax Error: unexpected argument "bigstart"* > > My "testuser" have only operator access to the GTM.It will all only to > enable/disable the pool members. May i know what kind of access i should > have to make REST API calls. So that i will work with Network team to > enable it. > > > Thanks > Siva Subramaniyan > > > On Wednesday, May 31, 2017 at 4:35:09 PM UTC-6, Tim Rupp wrote: >> >> what version of bigip are you using? that could be a result of an >> outdated REST daemon, or a crashed REST daemon. >> >> what is the output of >> >> bigstart status restjavad >> >> on the bigip CLI? >> >> On Wed, May 31, 2017 at 3:32 PM, Siva Subramaniyan <[email protected]> >> wrote: >> >>> Hi Tim, >>> >>> Thanks for notifying it, I was trying to connect to the unreachable GTM >>> in different Datacenter. >>> >>> >>> I have pointed to the correct GTM where i have the connectivity and ran >>> the Playbook to disable the GTM pool. Getting the Below error. Please >>> advice. >>> >>> *Play book :-* >>> >>> >>> >>> *$ cat f5-GTM-pool-disable.yml---- hosts: testgtm connection: local >>> tasks: - name: Force pool member offline bigip_gtm_pool: server: >>> "10.46.193.39" user: "testuser" password: "testuser123" >>> state: "disabled" name: "pool_mviewuat.vbr.net >>> <http://pool_mviewuat.vbr.net>" delegate_to: localhost* >>> >>> >>> $ *ansible-playbook f5-GTM-pool-disable.yml -i ../inv/fact-host* >>> >>> PLAY [testgtm] ****************************** >>> ************************************************************ >>> ***************** >>> >>> TASK [Gathering Facts] ****************************** >>> ********************************************************************* >>> ok: [10.46.193.39] >>> >>> TASK [Force pool member offline] ****************************** >>> *********************************************************** >>> fatal: [10.46.193.39 -> localhost]: FAILED! => {"changed": false, >>> "failed": true, "msg": "404 Unexpected Error: Not Found for uri: >>> https://10.46.193.39:443/mgmt/shared/authn/login\nText: >>> u'{\"code\":404,\"message\":\"http://localhost:8100/mgmt/sha >>> red/authn/login\",\"restOperationId\":87930106,\"errorStack\ >>> ":[\"com.f5.rest.common.RestWorkerUriNotFoundException: >>> http://localhost:8100/mgmt/shared/authn/login\",\"at >>> com.f5.rest.common.RestServer.trySendInProcess(RestServer.java:231)\",\"at >>> com.f5.rest.common.RestRequestReceiver.dispatchToService(Res >>> tRequestReceiver.java:93)\",\"at com.f5.rest.common.RestRequest >>> Receiver.processNext(RestRequestReceiver.java:57)\",\"at >>> com.f5.rest.common.RestHelper$2.run(RestHelper.java:1910)\",\"at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\",\"at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\",\"at >>> java.lang.Thread.run(Thread.java:722)\\\\n\"]}'"} >>> >>> msg: 404 Unexpected Error: Not Found for uri: >>> https://10.46.193.39:443/mgmt/shared/authn/login >>> Text: u'{"code":404,"message":"http://localhost:8100/mgmt/shared/a >>> uthn/login","restOperationId":87930106,"errorStack":["com.f5 >>> .rest.common.RestWorkerUriNotFoundException: >>> http://localhost:8100/mgmt/shared/authn/login","at >>> com.f5.rest.common.RestServer.trySendInProcess(RestServer.java:231)","at >>> com.f5.rest.common.RestRequestReceiver.dispatchToService(RestRequestReceiver.java:93)","at >>> com.f5.rest.common.RestRequestReceiver.processNext(RestRequestReceiver.java:57)","at >>> com.f5.rest.common.RestHelper$2.run(RestHelper.java:1910)","at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)","at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)","at >>> java.lang.Thread.run(Thread.java:722)\ >>> "]}' >>> to retry, use: --limit @/apps/ansible-scripts/f5-BigI >>> P/playbooks/f5-GTM-pool-disable.retry >>> >>> PLAY RECAP ************************************************************ >>> *************************************************** >>> 10.46.193.39 : ok=1 changed=0 unreachable=0 >>> failed=1 >>> >>> >>> >>> >>> On Wednesday, May 31, 2017 at 4:10:54 PM UTC-6, Tim Rupp wrote: >>>> >>>> that error indicates the module cannot reach your F5 device. >>>> >>>> >>>> """ >>>> requests.exceptions.ConnectionError: >>>> HTTPSConnectionPool(host='10.44.193.38', >>>> port=443): Max retries exceeded with url: /mgmt/shared/authn/login (Caused >>>> by >>>> NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection >>>> object at 0x400a3d0>: Failed to establish a new connection: [Errno 110] >>>> Connection timed out',)) >>>> """ >>>> >>>> On Wed, May 31, 2017 at 3:04 PM, Siva Subramaniyan <[email protected]> >>>> wrote: >>>> >>>>> Hi Tim, >>>>> >>>>> Thanks for the details..! i got the below error while running the >>>>> devel branch module. I am sorry to disturb you again. >>>>> >>>>> >>>>> $ ansible-playbook f5-GTM-pool-disable.yml -i ../inv/fact-host -vvvv >>>>> Using /etc/ansible/ansible.cfg as config file >>>>> Loading callback plugin skippy of type stdout, v2.0 from >>>>> /usr/lib/python2.7/site-packages/ansible/plugins/callback/__init__.pyc >>>>> >>>>> PLAYBOOK: f5-GTM-pool-disable.yml ****************************** >>>>> ********************************************************** >>>>> 1 plays in f5-GTM-pool-disable.yml >>>>> >>>>> PLAY [testgtm] ****************************** >>>>> ************************************************************ >>>>> ***************** >>>>> >>>>> TASK [Gathering Facts] ****************************** >>>>> ********************************************************************* >>>>> Using module file /usr/lib/python2.7/site-packag >>>>> es/ansible/modules/system/setup.py >>>>> <10.44.193.38> ESTABLISH LOCAL CONNECTION FOR USER: ansuser >>>>> <10.44.193.38> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo >>>>> $HOME/.ansible/tmp/ansible-tmp-1496267129.89-253660434471106 `" && >>>>> echo ansible-tmp-1496267129.89-253660434471106="` echo >>>>> $HOME/.ansible/tmp/ansible-tmp-1496267129.89-253660434471106 `" ) && >>>>> sleep 0' >>>>> <10.44.193.38> PUT /tmp/tmpOB79TI TO /home/ansuser/.ansible/tmp/ans >>>>> ible-tmp-1496267129.89-253660434471106/setup.py >>>>> <10.44.193.38> EXEC /bin/sh -c 'chmod u+x >>>>> /home/ansuser/.ansible/tmp/ansible-tmp-1496267129.89-253660434471106/ >>>>> /home/ansuser/.ansible/tmp/ansible-tmp-1496267129.89-253660434471106/setup.py >>>>> && sleep 0' >>>>> <10.44.193.38> EXEC /bin/sh -c '/usr/bin/python >>>>> /home/ansuser/.ansible/tmp/ansible-tmp-1496267129.89-253660434471106/setup.py; >>>>> rm -rf >>>>> "/home/ansuser/.ansible/tmp/ansible-tmp-1496267129.89-253660434471106/" >>>>> > /dev/null 2>&1 && sleep 0' >>>>> ok: [10.44.193.38] >>>>> META: ran handlers >>>>> >>>>> TASK [Force pool member offline] ****************************** >>>>> *********************************************************** >>>>> task path: /apps/ansible-scripts/f5-BigIP >>>>> /playbooks/f5-GTM-pool-disable.yml:7 >>>>> Using module file /usr/lib/python2.7/site-packag >>>>> es/ansible/modules/network/f5/bigip_gtm_pool.py >>>>> <localhost> ESTABLISH LOCAL CONNECTION FOR USER: ansuser >>>>> <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo >>>>> $HOME/.ansible/tmp/ansible-tmp-1496267130.41-260369370140814 `" && >>>>> echo ansible-tmp-1496267130.41-260369370140814="` echo >>>>> $HOME/.ansible/tmp/ansible-tmp-1496267130.41-260369370140814 `" ) && >>>>> sleep 0' >>>>> <localhost> PUT /tmp/tmpEWcAQZ TO /home/ansuser/.ansible/tmp/ans >>>>> ible-tmp-1496267130.41-260369370140814/bigip_gtm_pool.py >>>>> <localhost> EXEC /bin/sh -c 'chmod u+x /home/ansuser/.ansible/tmp/ans >>>>> ible-tmp-1496267130.41-260369370140814/ /home/ansuser/.ansible/tmp/ans >>>>> ible-tmp-1496267130.41-260369370140814/bigip_gtm_pool.py && sleep 0' >>>>> <localhost> EXEC /bin/sh -c '/usr/bin/python2 >>>>> /home/ansuser/.ansible/tmp/ansible-tmp-1496267130.41-260369370140814/bigip_gtm_pool.py; >>>>> rm -rf >>>>> "/home/ansuser/.ansible/tmp/ansible-tmp-1496267130.41-260369370140814/" >>>>> > /dev/null 2>&1 && sleep 0' >>>>> The full traceback is: >>>>> Traceback (most recent call last): >>>>> File "/tmp/ansible_cLPO8c/ansible_module_bigip_gtm_pool.py", line >>>>> 654, in <module> >>>>> main() >>>>> File "/tmp/ansible_cLPO8c/ansible_module_bigip_gtm_pool.py", line >>>>> 642, in main >>>>> required_if=spec.required_if >>>>> File >>>>> "/tmp/ansible_cLPO8c/ansible_modlib.zip/ansible/module_utils/f5_utils.py", >>>>> line 240, in __init__ >>>>> File >>>>> "/tmp/ansible_cLPO8c/ansible_modlib.zip/ansible/module_utils/f5_utils.py", >>>>> line 265, in _get_mgmt_root >>>>> File "/usr/lib/python2.7/site-packages/f5/bigip/__init__.py", line >>>>> 124, in __init__ >>>>> self.post_configuration_setup() >>>>> File "/usr/lib/python2.7/site-packages/f5/bigip/__init__.py", line >>>>> 91, in post_configuration_setup >>>>> self._get_tmos_version() >>>>> File "/usr/lib/python2.7/site-packages/f5/bigip/__init__.py", line >>>>> 96, in _get_tmos_version >>>>> response = connect.get(base_uri) >>>>> File "/usr/lib/python2.7/site-packages/icontrol/session.py", line >>>>> 258, in wrapper >>>>> response = method(self, REST_uri, **kwargs) >>>>> File "/usr/lib/python2.7/site-packages/icontrol/session.py", line >>>>> 427, in get >>>>> return self.session.get(uri, **kwargs) >>>>> File "/usr/lib/python2.7/site-packages/requests/sessions.py", line >>>>> 501, in get >>>>> return self.request('GET', url, **kwargs) >>>>> File "/usr/lib/python2.7/site-packages/requests/sessions.py", line >>>>> 474, in request >>>>> prep = self.prepare_request(req) >>>>> File "/usr/lib/python2.7/site-packages/requests/sessions.py", line >>>>> 407, in prepare_request >>>>> hooks=merge_hooks(request.hooks, self.hooks), >>>>> File "/usr/lib/python2.7/site-packages/requests/models.py", line >>>>> 306, in prepare >>>>> self.prepare_auth(auth, url) >>>>> File "/usr/lib/python2.7/site-packages/requests/models.py", line >>>>> 543, in prepare_auth >>>>> r = auth(self) >>>>> File "/usr/lib/python2.7/site-packages/icontrol/authtoken.py", line >>>>> 203, in __call__ >>>>> self.get_new_token(netloc) >>>>> File "/usr/lib/python2.7/site-packages/icontrol/authtoken.py", line >>>>> 100, in get_new_token >>>>> self.password)) >>>>> File "/usr/lib/python2.7/site-packages/requests/api.py", line 110, >>>>> in post >>>>> return request('post', url, data=data, json=json, **kwargs) >>>>> File "/usr/lib/python2.7/site-packages/requests/api.py", line 56, >>>>> in request >>>>> return session.request(method=method, url=url, **kwargs) >>>>> File "/usr/lib/python2.7/site-packages/requests/sessions.py", line >>>>> 488, in request >>>>> resp = self.send(prep, **send_kwargs) >>>>> File "/usr/lib/python2.7/site-packages/requests/sessions.py", line >>>>> 609, in send >>>>> r = adapter.send(request, **kwargs) >>>>> File "/usr/lib/python2.7/site-packages/requests/adapters.py", line >>>>> 487, in send >>>>> raise ConnectionError(e, request=request) >>>>> requests.exceptions.ConnectionError: >>>>> HTTPSConnectionPool(host='10.44.193.38', >>>>> port=443): Max retries exceeded with url: /mgmt/shared/authn/login (Caused >>>>> by >>>>> NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection >>>>> object at 0x400a3d0>: Failed to establish a new connection: [Errno 110] >>>>> Connection timed out',)) >>>>> >>>>> fatal: [10.44.193.38 -> localhost]: FAILED! => { >>>>> "changed": false, >>>>> "failed": true, >>>>> "module_stderr": "Traceback (most recent call last):\n File >>>>> \"/tmp/ansible_cLPO8c/ansible_module_bigip_gtm_pool.py\", line 654, >>>>> in <module>\n main()\n File >>>>> \"/tmp/ansible_cLPO8c/ansible_module_bigip_gtm_pool.py\", >>>>> line 642, in main\n required_if=spec.required_if\n File >>>>> \"/tmp/ansible_cLPO8c/ansible_modlib.zip/ansible/module_utils/f5_utils.py\", >>>>> line 240, in __init__\n File \"/tmp/ansible_cLPO8c/ansible_ >>>>> modlib.zip/ansible/module_utils/f5_utils.py\", line 265, in >>>>> _get_mgmt_root\n File >>>>> \"/usr/lib/python2.7/site-packages/f5/bigip/__init__.py\", >>>>> line 124, in __init__\n self.post_configuration_setup()\n File >>>>> \"/usr/lib/python2.7/site-packages/f5/bigip/__init__.py\", line 91, >>>>> in post_configuration_setup\n self._get_tmos_version()\n File >>>>> \"/usr/lib/python2.7/site-packages/f5/bigip/__init__.py\", line 96, >>>>> in _get_tmos_version\n response = connect.get(base_uri)\n File >>>>> \"/usr/lib/python2.7/site-packages/icontrol/session.py\", line 258, >>>>> in wrapper\n response = method(self, REST_uri, **kwargs)\n File >>>>> \"/usr/lib/python2.7/site-packages/icontrol/session.py\", line 427, >>>>> in get\n return self.session.get(uri, **kwargs)\n File >>>>> \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 501, >>>>> in get\n return self.request('GET', url, **kwargs)\n File >>>>> \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 474, >>>>> in request\n prep = self.prepare_request(req)\n File >>>>> \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 407, >>>>> in prepare_request\n hooks=merge_hooks(request.hooks, >>>>> self.hooks),\n File >>>>> \"/usr/lib/python2.7/site-packages/requests/models.py\", >>>>> line 306, in prepare\n self.prepare_auth(auth, url)\n File >>>>> \"/usr/lib/python2.7/site-packages/requests/models.py\", line 543, in >>>>> prepare_auth\n r = auth(self)\n File >>>>> \"/usr/lib/python2.7/site-packages/icontrol/authtoken.py\", >>>>> line 203, in __call__\n self.get_new_token(netloc)\n File >>>>> \"/usr/lib/python2.7/site-packages/icontrol/authtoken.py\", line 100, >>>>> in get_new_token\n self.password))\n File >>>>> \"/usr/lib/python2.7/site-packages/requests/api.py\", >>>>> line 110, in post\n return request('post', url, data=data, json=json, >>>>> **kwargs)\n File \"/usr/lib/python2.7/site-packages/requests/api.py\", >>>>> line 56, in request\n return session.request(method=method, url=url, >>>>> **kwargs)\n File >>>>> \"/usr/lib/python2.7/site-packages/requests/sessions.py\", >>>>> line 488, in request\n resp = self.send(prep, **send_kwargs)\n File >>>>> \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 609, >>>>> in send\n r = adapter.send(request, **kwargs)\n File >>>>> \"/usr/lib/python2.7/site-packages/requests/adapters.py\", line 487, >>>>> in send\n raise ConnectionError(e, >>>>> request=request)\nrequests.exceptions.ConnectionError: >>>>> HTTPSConnectionPool(host='10.44.193.38', port=443): Max retries >>>>> exceeded with url: /mgmt/shared/authn/login (Caused by >>>>> NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection >>>>> object at 0x400a3d0>: Failed to establish a new connection: [Errno 110] >>>>> Connection timed out',))\n", >>>>> "module_stdout": "", >>>>> "msg": "MODULE FAILURE", >>>>> "rc": 0 >>>>> } >>>>> >>>>> msg: MODULE FAILURE >>>>> to retry, use: --limit @/apps/ansible-scripts/f5-BigI >>>>> P/playbooks/f5-GTM-pool-disable.retry >>>>> >>>>> PLAY RECAP ****************************** >>>>> ************************************************************ >>>>> ********************* >>>>> 10.44.193.38 : ok=1 changed=0 unreachable=0 >>>>> failed=1 >>>>> >>>>> >>>>> Thanks >>>>> Siva Subramaniyan >>>>> >>>>> >>>>> On Wednesday, May 31, 2017 at 2:24:28 PM UTC-6, Tim Rupp wrote: >>>>>> >>>>>> the module you're using is from "master" branch. >>>>>> >>>>>> Master is not the newest code. the one you want is in "devel" here is >>>>>> the link. >>>>>> >>>>>> https://github.com/F5Networks/f5-ansible/blob/devel/library/ >>>>>> bigip_gtm_pool.py >>>>>> >>>>>> -tim >>>>>> >>>>>> On Wed, May 31, 2017 at 12:48 PM, Siva Subramaniyan < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> HI Tim, >>>>>>> >>>>>>> Thanks for the details. >>>>>>> >>>>>>> I have tried copying the https://github.com/F5Netwo >>>>>>> rks/f5-ansible/blob/master/library/bigip_gtm_pool.py module >>>>>>> >>>>>>> placed in "/usr/lib/python2.7/site-packages/ansible/modules/network/ >>>>>>> f5" >>>>>>> >>>>>>> and tried my execution.. Some how it fails, can i wait till get the >>>>>>> stable version or can you advice the stable module to place and try. i >>>>>>> have >>>>>>> the requirement to control the GTM traffic from ansible as my project >>>>>>> delivery. any help is much appreciated, >>>>>>> >>>>>>> >>>>>>> $ ansible-playbook f5-GTM-pool-disable.yml -i ../inv/fact-host -vvvv >>>>>>> Using /etc/ansible/ansible.cfg as config file >>>>>>> Loading callback plugin skippy of type stdout, v2.0 from >>>>>>> /usr/lib/python2.7/site-packages/ansible/plugins/callback/__ >>>>>>> init__.pyc >>>>>>> >>>>>>> PLAYBOOK: f5-GTM-pool-disable.yml ****************************** >>>>>>> ********************************************************** >>>>>>> 1 plays in f5-GTM-pool-disable.yml >>>>>>> >>>>>>> PLAY [testgtm] ****************************** >>>>>>> ************************************************************ >>>>>>> ***************** >>>>>>> >>>>>>> TASK [Gathering Facts] ****************************** >>>>>>> ************************************************************ >>>>>>> ********* >>>>>>> Using module file /usr/lib/python2.7/site-packag >>>>>>> es/ansible/modules/system/setup.py >>>>>>> <10.44.193.38> ESTABLISH LOCAL CONNECTION FOR USER: ansuser >>>>>>> <10.44.193.38> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo >>>>>>> $HOME/.ansible/tmp/ansible-tmp-1496259129.14-190984755053273 `" && >>>>>>> echo ansible-tmp-1496259129.14-190984755053273="` echo >>>>>>> $HOME/.ansible/tmp/ansible-tmp-1496259129.14-190984755053273 `" ) >>>>>>> && sleep 0' >>>>>>> <10.44.193.38> PUT /tmp/tmpg3h_hL TO /home/ansuser/.ansible/tmp/ans >>>>>>> ible-tmp-1496259129.14-190984755053273/setup.py >>>>>>> <10.44.193.38> EXEC /bin/sh -c 'chmod u+x >>>>>>> /home/ansuser/.ansible/tmp/ansible-tmp-1496259129.14-190984755053273/ >>>>>>> /home/ansuser/.ansible/tmp/ansible-tmp-1496259129.14-190984755053273/setup.py >>>>>>> && sleep 0' >>>>>>> <10.44.193.38> EXEC /bin/sh -c '/usr/bin/python >>>>>>> /home/ansuser/.ansible/tmp/ansible-tmp-1496259129.14-190984755053273/setup.py; >>>>>>> rm -rf >>>>>>> "/home/ansuser/.ansible/tmp/ansible-tmp-1496259129.14-190984755053273/" >>>>>>> > /dev/null 2>&1 && sleep 0' >>>>>>> ok: [10.44.193.38] >>>>>>> META: ran handlers >>>>>>> >>>>>>> TASK [Force pool member offline] ****************************** >>>>>>> *********************************************************** >>>>>>> task path: /opt/ansible-scripts/f5-BigIP/ >>>>>>> playbooks/f5-GTM-pool-disable.yml:7 >>>>>>> fatal: [10.44.193.38]: FAILED! => { >>>>>>> "failed": true, >>>>>>> "msg": "Could not find imported module support code for >>>>>>> bigip_gtm_pool. Looked for either *.py or f5.py" >>>>>>> } >>>>>>> >>>>>>> msg: Could not find imported module support code for >>>>>>> bigip_gtm_pool. Looked for either *.py or f5.py >>>>>>> to retry, use: --limit @/opt/ansible-scripts/f5-BigIP >>>>>>> /playbooks/f5-GTM-pool-disable.retry >>>>>>> >>>>>>> PLAY RECAP ****************************** >>>>>>> ************************************************************ >>>>>>> ********************* >>>>>>> 10.44.193.38 : ok=1 changed=0 unreachable=0 >>>>>>> failed=1 >>>>>>> >>>>>>> Thanks >>>>>>> Siva Subramaniyan >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Monday, May 29, 2017 at 1:19:01 PM UTC-6, Tim Rupp wrote: >>>>>>>> >>>>>>>> Hey Siva, >>>>>>>> >>>>>>>> That module is not yet part of Ansible core. You need to install it >>>>>>>> locally from the f5-ansible repository until it is. >>>>>>>> >>>>>>>> Instructions for doing that can be found here >>>>>>>> >>>>>>>> https://f5-ansible.readthedocs.io/en/latest/usage/ >>>>>>>> installing_modules.html >>>>>>>> >>>>>>>> -tim >>>>>>>> >>>>>>>> On Sat, May 27, 2017 at 10:25 PM, Siva Subramaniyan < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> HI Tim, >>>>>>>>> >>>>>>>>> When I run the Above play book, getting the error as below. Looks >>>>>>>>> like my Ansible version is not recognizing the "bigip_gtm_pool" >>>>>>>>> module. >>>>>>>>> Please advise. >>>>>>>>> >>>>>>>>> *Ansible Version:-* >>>>>>>>> >>>>>>>>> ansible 2.3.0.0 >>>>>>>>> config file = /etc/ansible/ansible.cfg >>>>>>>>> configured module search path = Default w/o overrides >>>>>>>>> python version = 2.7.5 (default, Aug 2 2016, 04:20:16) [GCC >>>>>>>>> 4.8.5 20150623 (Red Hat 4.8.5-4)] >>>>>>>>> >>>>>>>>> >>>>>>>>> *Error while running :-* >>>>>>>>> >>>>>>>>> *$ ansible-playbook f5-GTM-pool-disable.yml -i ../inv/fact-host >>>>>>>>> --syntax-check -vvvv* >>>>>>>>> >>>>>>>>> Using /etc/ansible/ansible.cfg as config file >>>>>>>>> *ERROR! no action detected in task. This often indicates a >>>>>>>>> misspelled module name, or incorrect module path.* >>>>>>>>> >>>>>>>>> The error appears to have been in '/apps/ansible-scripts/f5-BigI >>>>>>>>> P/playbooks/f5-GTM-pool-disable.yml': line 7, column 5, but may >>>>>>>>> be elsewhere in the file depending on the exact syntax problem. >>>>>>>>> >>>>>>>>> The offending line appears to be: >>>>>>>>> >>>>>>>>> >>>>>>>>> - name: Force pool member offline >>>>>>>>> ^ here >>>>>>>>> >>>>>>>>> >>>>>>>>> The error appears to have been in '/apps/ansible-scripts/f5-BigI >>>>>>>>> P/playbooks/f5-GTM-pool-disable.yml': line 7, column 5, but may >>>>>>>>> be elsewhere in the file depending on the exact syntax problem. >>>>>>>>> >>>>>>>>> The offending line appears to be: >>>>>>>>> >>>>>>>>> >>>>>>>>> - name: Force pool member offline >>>>>>>>> ^ here >>>>>>>>> >>>>>>>>> ======================================================= >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> Siva Subramaniyan. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tuesday, May 23, 2017 at 11:26:03 PM UTC-6, Siva Subramaniyan >>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> Hi There, >>>>>>>>>> >>>>>>>>>> Can you please share the used case Playbook for the LTM/GTM >>>>>>>>>> traffic disable in F5 Big IP. >>>>>>>>>> I have the requirement to switch the Traffic during the change >>>>>>>>>> window to do the Server side deployments. >>>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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 [email protected]. >>>>>>>>> To post to this group, send email to [email protected]. >>>>>>>>> To view this discussion on the web visit >>>>>>>>> https://groups.google.com/d/msgid/ansible-project/c635a269- >>>>>>>>> 9a9f-42ce-89ef-0d5db6338400%40googlegroups.com >>>>>>>>> <https://groups.google.com/d/msgid/ansible-project/c635a269-9a9f-42ce-89ef-0d5db6338400%40googlegroups.com?utm_medium=email&utm_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 [email protected]. >>>>>>> To post to this group, send email to [email protected]. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/ansible-project/ba448198- >>>>>>> 87d8-421d-8410-048b6f3e269b%40googlegroups.com >>>>>>> <https://groups.google.com/d/msgid/ansible-project/ba448198-87d8-421d-8410-048b6f3e269b%40googlegroups.com?utm_medium=email&utm_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 [email protected]. >>>>> To post to this group, send email to [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/ansible-project/c7cec089- >>>>> 7b8b-459f-93d7-d0ae1b2686f3%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/ansible-project/c7cec089-7b8b-459f-93d7-d0ae1b2686f3%40googlegroups.com?utm_medium=email&utm_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 [email protected]. >>> To post to this group, send email to [email protected]. >>> To view this discussion on the web visit https://groups.google.com/d/ms >>> gid/ansible-project/722fe644-5829-4eb2-857f-adead7ba0982% >>> 40googlegroups.com >>> <https://groups.google.com/d/msgid/ansible-project/722fe644-5829-4eb2-857f-adead7ba0982%40googlegroups.com?utm_medium=email&utm_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 [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/ansible-project/9cc31800-8771-4398-8dc1-521d5d5d4e64%40googlegroups. > com > <https://groups.google.com/d/msgid/ansible-project/9cc31800-8771-4398-8dc1-521d5d5d4e64%40googlegroups.com?utm_medium=email&utm_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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAB0Zv8iBEd_W1JGpcCZG%3DNveyd6kTK4bV9XbqX55d5BiLpNPWg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
