Ansible doesn't see that it is configured:

tasks: 
  
  - name: configure timezone
    become: yes
    ios_config:
     lines:
      - clock timezone CET 1 0
      - clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 3:00

each time , i run it status is "changed", command that is triggering the 
change is: "clock summer-time"

I don't see any difference, why is ansible not skipping ?
Might it have something to do with the special characters in the string: 
":" and "-" ???



running Ansible 2.5.2 in Tower

{
    "_ansible_parsed": true,
    "commands": [
        "clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 
3:00"
    ],
    "_ansible_no_log": false,
   * "changed": true,*
    "updates": [
        "clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 
3:00"
    ],
    "invocation": {
        "module_args": {
            "multiline_delimiter": "@",
            "authorize": null,
            "force": false,
            "diff_against": null,
            "replace": "line",
            "running_config": null,
            "save_when": "never",
            "port": null,
            "before": null,
            "auth_pass": null,
            "parents": null,
            "provider": null,
            "save": false,
            "match": "line",
            "username": null,
            "defaults": false,
            "after": null,
            "host": null,
            "password": null,
            "diff_ignore_lines": null,
            "src": null,
            "ssh_keyfile": null,
            "lines": [
                "clock timezone CET 1 0",
                "clock summer-time CEST recurring last Sun Mar 2:00 last 
Sun Oct 3:00"
            ],
            "intended_config": null,
            "timeout": null,
            "backup": false
        }
    },
    "banners": {}
}

-- 
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/1c0a9bdd-12fb-4ef6-b461-1bb76e499476%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to