patch2: make ansible code follow lint. patch2: some of the 'shell' command will be replaced with ansible built-in 'script' in a separate CL. Change-Id: I010fbf89d7393c2ba1bee06dca36196fe5cc7006