4.13. 마이너 Ansible Automation Platform 릴리스 간 업그레이드
Ansible Automation Platform 2의 마이너 릴리스 간에 업그레이드하려면 이 일반 워크플로우를 사용하십시오.
절차
- 최신 Ansible Automation Platform 2 설치 번들을 다운로드하여 보관 해제합니다.
- 기존 설치의 백업을 생성합니다.
- 기존 설치 인벤토리 파일을 새 설치 번들 디렉터리에 복사합니다.
-
./setup.sh
를 실행하여 설치를 업그레이드합니다.
예를 들어 버전 2.2.0-7에서 2.3-1.2로 업그레이드하려면 설치가 발생한 초기 컨트롤러 노드에 두 설치 번들이 있는지 확인합니다.
$ ls -1F ansible-automation-platform-setup-bundle-2.2.0-7/ ansible-automation-platform-setup-bundle-2.2.0-7.tar.gz ansible-automation-platform-setup-bundle-2.3-1.2/ ansible-automation-platform-setup-bundle-2.3-1.2.tar.gz
2.2.0-7 설치를 백업하십시오.
$ cd ansible-automation-platform-setup-bundle-2.2.0-7 $ sudo ./setup.sh -b $ cd ..
2.2.0-7 인벤토리 파일을 2.3-1.2 번들 디렉터리에 복사합니다.
$ cd ansible-automation-platform-setup-bundle-2.2.0-7 $ cp inventory ../ansible-automation-platform-setup-bundle-2.3-1.2/ $ cd ..
setup.sh 스크립트를 사용하여 2.2.0-7에서 2.3-1.2로 업그레이드하십시오.
$ cd ansible-automation-platform-setup-bundle-2.3-1.2 $ sudo ./setup.sh