community.general/lib/ansible/modules
Peter Sprygada 0b6f0e6c0d adds more intelligent save logic and diff to network config modules (#26565)
* adds more intelligent save logic and diff to network config modules

* adds sha1 property to NetworkConfig
* adds new argument save_when to argument_spec
* adds new argument diff_against to argument_spec
* adds new argument intended_config to argument_spec
* renames config argument to running_config with alias to config
* deprecates the use of the save argument
* before and after now work with src argument
* misc module clean

Modules updated
* nxos_config
* ios_config
* eos_config

Most notably this makes the save mechanism more intelligent for config
modules for devices that need to copy the ephemeral config to
non-volatile storage.

The diff_against argument allows the playbook task to control what the
device's running-config is diff'ed against. By default it will return
the diff of the startup-config.

* removes ios_config from pep8/legacy_files.txt

* extends the ignore lines argument to the module

* clean up CI errors

* add missing list brackets

* fixes typo

* fixes unit test cases

* remove last line break when returning config contents

* encode config string to bytes before hashing

* fix typo

* addresses feedback in PR

* update unit test cases
2017-07-11 20:34:20 -04:00
..
cloud cloudstack: cs_iso: extend returns 2017-07-12 00:49:37 +02:00
clustering Consul: make service_port optional in service definition, like specified in Consul docs (#21737) 2017-06-19 19:29:40 +01:00
commands command: Remove executable parameter when using command 2017-07-11 13:34:46 -07:00
crypto openssl_privatekey: Add publickey fingerprint (#22202) 2017-07-03 20:46:45 +01:00
database postgres_db: add dump and restore support (#20627) 2017-07-10 08:05:42 +01:00
files UserKnownHostsFile=/dev/null when verify_host: false 2017-07-05 09:42:04 -05:00
identity Pep8 fixes for opendj_backendprop_* (#24587) 2017-07-06 09:50:26 +01:00
inventory Mutually reference Windows and non-Windows modules (#25482) 2017-06-26 16:26:53 +01:00
messaging fix false positive changed flag in rabbitmq_user module (#22507) 2017-06-19 05:10:23 -04:00
monitoring sensu_subscription: Fix return type for 2 cases (#26546) 2017-07-10 15:07:25 -04:00
net_tools fix issue with nmcli not parsing vars properly (#22095) 2017-07-10 07:30:02 +01:00
network adds more intelligent save logic and diff to network config modules (#26565) 2017-07-11 20:34:20 -04:00
notification update auth_flag variable after STARTTLS connection is established, fixes #26376 2017-07-03 23:07:47 -04:00
packaging openwrt_init / opkg: clearly state that python is required (#26471) 2017-07-06 16:30:06 -04:00
remote_management wakeonlan: Add integration tests and improvements (#26254) 2017-07-07 10:52:02 +01:00
source_control Correct doc about the Git module verify_commit param 2017-07-03 16:45:05 -04:00
storage Initial commit for Pure Storage Ansible module (#25386) 2017-06-16 11:28:50 +01:00
system Mv AnsibleFactCollector back to module_utils (#26150) 2017-07-11 10:44:22 -04:00
utilities Fix wait_for with newer versions of psutil. (#26455) 2017-07-05 19:00:13 -07:00
web_infrastructure New module: gunicorn (#26206) 2017-07-10 07:36:43 +01:00
windows win_acl: registry support for special service accounts (#26629) 2017-07-11 10:01:55 +10:00
__init__.py Re-adding the init py for modules 2016-12-08 11:35:20 -05:00