Collection of answers to Frequently Asked Question
pillar.refresh will not update running Nornir instance. Instead, after
updating pillar on salt-master, to propagate updates to proxy-minion process either
of these will work:
restart Nornir proxy-minion process e.g.
systemctl restart email@example.com
salt nrp1 nr.refreshcommand to re-instantiate Nornir instance
salt nrp1 nr.restartcommand to restart Nornir proxy minion process
nrp1 - Nornir Proxy minion id/name.
To address individual hosts targeting, Nornir filtering capabilities utilized using additional
filtering functions, reference nornir-salt module
FFun function for more
information. But in short have to use
Fx parameters to filter hosts, for example:
# target only IOL1 and IOL2 hosts: salt nrp1 nr.cli "show clock" FB="IOL"