install_nps.sh script failure

Symptom

The log files display Failed message and the install_nps.sh script stops.

Cause

The install_nps.sh script stops and the log files displays the Failed message because any one of the tasks in the playbook has failed to complete.

Action
  1. Identify the task in the playbook that has failed.
  2. Restart the firewall service using the following command:
    systemctl restart firewalld.service
  3. Flush the IP tables using the following command:
    iptables -F
  4. Rerun the failed task using the following command:
    ansible-playbook online_seedhost_preparation.yaml -e@input.yaml --start-at-task="<task_name>"
    Where, <task_name> is the name of the task that failed and identified in Step 1.