渡辺ã§ãã ã»ãã¥ãªãã£ãé«ãããªã©ã®çç±ã§å¯¾è±¡ã¤ã³ã¹ã¿ã³ã¹ã«EIPãä»ä¸ããªãå ´åãSSHã¯è¸ã¿å°ï¼Bastionï¼çµç±ã¨ãªãã¾ãï¼åèï¼ Amazon VPCç°å¢ã«ã¡ã³ããã³ã¹ç¨ã®è¸ã¿å°ãµã¼ããæ§ç¯ããï¼ã è¸ã¿å°ãµã¼ãã®ããæ§æã§Ansibleãå©ç¨ããå ´åãansible.cnfã®ssh_connectionã§ssh_argsãè¨å®ãã¾ãããã ssh_configã®æºå ã¯ããã«sshã®configãã¡ã¤ã«ãä½æãã¾ãã ããã¯ã~/.ssh/configã«è¨å®ãããã¡ã¤ã«ã®ä¸é¨ã¨èãã¦è¯ãã§ãããã Ansibleã®ãã¡ã¤ã«ã¨ä¸ç·ã«ãã¼ã¸ã§ã³ç®¡çããæ¹ãè¯ãã¨æãã®ã§ãAnsibleã®ããã¸ã§ã¯ãã«ã¼ãã«ãããã¨ããããããã¾ãã Host bastion HostName 52.52.xxx.xxx User ec2-user IdentityFile ~/.ssh/prd.
{{#tags}}- {{label}}
{{/tags}}