mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #486 from jvonau/gpg-key
Sync from jvonau/iiab:gpg-key
This commit is contained in:
commit
01e1651f33
2 changed files with 9 additions and 6 deletions
|
@ -92,10 +92,12 @@ if [ ! -f /etc/debian_version ]; then # e.g. RaspiOS, Ubuntu, Mint & Debian
|
|||
exit 1
|
||||
fi
|
||||
|
||||
echo -e "\napt update; install dirmngr; PPA to /etc/apt/sources.list.d/iiab-ansible.list\n"
|
||||
$APT_PATH/apt update
|
||||
$APT_PATH/apt -y install dirmngr
|
||||
echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu $CODENAME main" \
|
||||
# JV just manually use the key from this repo 2021-04-22
|
||||
echo -e "\napt update; use local keys for PPA in /etc/apt/sources.list.d/iiab-ansible.list\n"
|
||||
#$APT_PATH/apt update
|
||||
#$APT_PATH/apt -y install dirmngr
|
||||
|
||||
echo "deb [signed-by=/opt/iiab/iiab/scripts/iiab-ansible.gpg] http://ppa.launchpad.net/ansible/ansible/ubuntu $CODENAME main" \
|
||||
> /etc/apt/sources.list.d/iiab-ansible.list
|
||||
# In future we might instead consider 'add-apt-repository ppa:ansible/ansible'
|
||||
# or 'apt-add-repository ppa:ansible/bionic/ansible' etc, e.g. for streamlined
|
||||
|
@ -110,8 +112,9 @@ echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu $CODENAME main" \
|
|||
#echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu disco main" \
|
||||
# > /etc/apt/sources.list.d/iiab-ansible.list
|
||||
|
||||
echo -e '\nIF YOU FACE ERROR "signatures couldn'"'"'t be verified because the public key is not available" THEN REPEATEDLY RE-RUN "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367"\n'
|
||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367
|
||||
# JV 2021-04-22
|
||||
#echo -e '\nIF YOU FACE ERROR "signatures couldn'"'"'t be verified because the public key is not available" THEN REPEATEDLY RE-RUN "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367"\n'
|
||||
#apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367
|
||||
echo -e 'PPA source "deb http://ppa.launchpad.net/ansible/ansible/ubuntu '$CODENAME' main"'
|
||||
echo -e "successfully saved to /etc/apt/sources.list.d/iiab-ansible.list\n"
|
||||
echo -e "IF *OTHER* ANSIBLE SOURCES APPEAR BELOW, PLEASE MANUALLY REMOVE THEM TO"
|
||||
|
|
BIN
scripts/iiab-ansible.gpg
Normal file
BIN
scripts/iiab-ansible.gpg
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue