Firewalld is utility that allow us to manage firewall rules. It is is the default firewall on Centos. Install and starting firewalld. Some CentOS systems may not have firewalld. To install it, enter: For automatic start, enter: And to start
Continue readingWorking with module ios_config in ansible and use src parameter
The src parameter allows you to specify the path to a configuration file or configuration template to be loaded on the device. This parameter is mutually exclusive with lines (that is, either lines or src can be specified). Example playbook
Continue readingWorking with module ios_config in ansible and use replace parameters
The replace parameter specifies how exactly the configuration should be replaced: How to use replace: line parameter in module ios_config? The replace: line mode is the default behavior. In this mode, if changes were detected, only the missing rows are
Continue readingWorking with module ios_config in ansible and use match parameters
The match parameter specifies how exactly the commands should be compared (which is considered a change): line – commands are checked line by line. This mode is used by default strict – not only the commands themselves must match, but
Continue readingWorking with module ios_config in ansible and use after, before parameters
How to use after parameter of ios_config module in ansible? The after parameter specifies which commands to execute after the commands in the lines (or commands) list. Commands that are specified in the after parameter: executed only if changes need
Continue readingWorking with module ios_config in ansible and use save_when, backup, default parameters
How to use save_when parameter of ios_config module in ansible? The save_when parameter allows you to specify whether you want to save the current configuration to startup config. By default, the parameter value is no. Available value options: always –
Continue reading