Salt Cloud - Install¶
Create Server¶
Login as root
using the IP address or domain name:
sudo -i -u root
ssh the.server.ip.address
Install Salt¶
From https://repo.saltstack.com/#ubuntu
Warning
Be sure to click the PY3 tab (not PY2)!
Run the following command to import the SaltStack repository:
sudo curl -fsSL -o /usr/share/keyrings/salt-archive-keyring.gpg https://repo.saltproject.io/py3/ubuntu/20.04/amd64/latest/salt-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg] https://repo.saltproject.io/py3/ubuntu/20.04/amd64/latest focal main" | sudo tee /etc/apt/sources.list.d/salt.list
Tip
If you get the following error:
Skipping acquire of configured file ‘main/binary-i386/Packages’ as
repository ‘xxx’ doesn’t support architecture ‘i386’
then add arch=amd64
to the options e.g.
deb [arch=amd64 signed-by=/usr/share/keyrings/salt-archive-keyring.gpg] https...
Next Steps¶
To setup a Salt Master
To setup a Minion, Salt - Provision