Skip to content

Michipulatos/sui-ansible

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sui-ansible

ansible configuration for SUI Network

Documentation References

Setting up control node

Configure host

Install python

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python3 get-pip.py --user

Install ansible

python3 -m pip install --user ansible

Confirm installation

source .profile ansible --version

Set up SSH keys

Create key ssh-keygen -t ed25519 -C "[email protected]"

Add the public key to the authorized_keys file echo "ssh-ed25519 <ed25519-PUBLIC-KEY [email protected]" >> $HOME/.ssh/authorized_keys

eval `ssh-agent -s`
`ssh-add`

Set up SUI playbook

Clone this repo git clone https://github.com/0xzoz/sui-ansible

Edit inventory cd sui-ansible; cp inventory.yml.sample inventory.yml

Add IP of target to inventory.yml

all:
  hosts: 
    sui_fullnode:
      ansible_host: <YOUR_TARGET_IP>

Run Playbook

cd sui-ansible; ansible-playbook main.yml -i inventory.yml --e "target=sui_fullnode"

Licence

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 100.0%