3 votes

Ansible doesn't return valid information

Lineinfile is a weird choice here. It’s a module used to add lines to a configuration file (for example) and make sure a line is there, it’s not meant for things like logging, which you seem to be ...
Teun Vink's user avatar
  • 17.3k
3 votes
Accepted

nxos ansible playbook to configure interface

Finally end up using following module, not pretty but doing what it need to do - name: sample playbook hosts: n3k1 tasks: - name: globle configuration nxos_config: lines: ...
Satish's user avatar
  • 4,379
2 votes
Accepted

ansible addition operation of content from stdout of each hosts

You say you: have 5 hosts, e.g. firewalls: [hostA, hostB, hostC, hostD, hostE] have 5 separate files, e.g. shell> find . -name '*_file' ./hostA_file ./hostD_file ./hostB_file ./hostC_file ./...
Vladimir Botka's user avatar
2 votes

how to connect to Dell N1548P with ansible

Short version: the Ansible connection type you want is ansible.netcommon.network_cli Longer version: The N1548P's operating system, OS6, doesn't have a RESTAPI like OS10/SONiC. Subsequently, Ansible ...
Grant Curell's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible